From 092952da31ebae9aedb703bffef0103620fa7376 Mon Sep 17 00:00:00 2001 From: remicollet Date: Sat, 12 Dec 2009 07:44:36 +0000 Subject: [PATCH] fix cron method names git-svn-id: https://forge.glpi-project.org/svn/example/trunk@114 349b9182-4a13-0410-896f-e5e9767dd1b3 --- inc/example.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inc/example.class.php b/inc/example.class.php index d933f1f..a2ab188 100644 --- a/inc/example.class.php +++ b/inc/example.class.php @@ -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));