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:
remicollet 2009-12-12 07:44:36 +00:00
parent 89d7d18237
commit 092952da31

View File

@ -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));