mirror of
https://github.com/pluginsGLPI/example.git
synced 2025-05-04 18:08:42 +02:00
fix cron method names
git-svn-id: https://forge.glpi-project.org/svn/example/trunk@114 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
parent
89d7d18237
commit
092952da31
@ -99,7 +99,7 @@ class PluginExampleExample extends CommonDBTM {
|
||||
*
|
||||
* @return array of strings
|
||||
*/
|
||||
static function cron_info($name) {
|
||||
static function cronInfo($name) {
|
||||
global $LANG;
|
||||
|
||||
switch ($name) {
|
||||
@ -122,7 +122,7 @@ class PluginExampleExample extends CommonDBTM {
|
||||
* <0 : to be run again (not finished)
|
||||
* 0 : nothing to do
|
||||
*/
|
||||
static function cron_sample2_run($task) {
|
||||
static function cronSample2($task) {
|
||||
$task->log("Example log message from class");
|
||||
$task->setVolume(mt_rand(0,10));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user