1 | <?php defined('BASEPATH') OR exit('No direct script access allowed'); |
||
3 | class AdminCLI extends CLI_Controller { |
||
4 | 1 | public function __construct() { |
|
7 | |||
8 | public function index() : void { |
||
11 | |||
12 | /** |
||
13 | * Used to update the site migration version. |
||
14 | * Called via public/index.php admin/migrate |
||
15 | */ |
||
16 | 1 | public function migrate() : void { |
|
24 | |||
25 | /** |
||
26 | * Used to check for, and update series with new chapters. |
||
27 | * Called via: public/index.php admin/update_series |
||
28 | * |
||
29 | * This is called via a cron job every 6 hours. |
||
30 | * Series are only checked if they haven't been updated in 16+ hours (unless they are marked as complete, to which they are only checked once a week). |
||
31 | */ |
||
32 | public function updateSeries() { |
||
40 | |||
41 | /** |
||
42 | * Used to check for, and update titles with new chapters from a site following list. |
||
43 | * Called via: public/index.php admin/update_series_custom |
||
44 | * |
||
45 | * This is called via a cron job every hour. |
||
46 | * Series will always be updated if they can be. For more info see: https://github.com/DakuTree/manga-tracker/issues/78 |
||
47 | * FIXME: The entire implementation of this is an utter mess. |
||
48 | **/ |
||
49 | public function updateSeriesCustom() { |
||
52 | |||
53 | public function refollowCustom() { |
||
56 | |||
57 | public function testSite($type, $site, $extra = NULL) { |
||
80 | } |
||
81 |
This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.
This is most likely a typographical error or the method has been renamed.