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() { |
||
9 | print "ERROR: This is an invalid route"; |
||
10 | } |
||
11 | |||
12 | /** |
||
13 | * Used to update the site migration version. |
||
14 | * Called via public/index.php admin/migrate |
||
15 | */ |
||
16 | 1 | public function migrate() { |
|
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() { |
||
35 | |||
36 | /** |
||
37 | * Used to check for, and update titles with new chapters from a site following list. |
||
38 | * Called via: public/index.php admin/update_series_custom |
||
39 | * |
||
40 | * This is called via a cron job every hour. |
||
41 | * Series will always be updated if they can be. For more info see: https://github.com/DakuTree/manga-tracker/issues/78 |
||
42 | * FIXME: The entire implementation of this is an utter mess. |
||
43 | **/ |
||
44 | public function updateSeriesCustom() { |
||
47 | |||
48 | /** |
||
49 | * Checks every series to see if title has changed, and update if so. |
||
50 | * Called via: public/index.php admin/update_titles |
||
51 | * |
||
52 | * This is called via a cron job once a month. |
||
53 | **/ |
||
54 | public function updateTitles() { |
||
57 | |||
58 | public function refollowCustom() { |
||
61 | |||
62 | public function testSite($type, $site, $title = 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.