improved hook for example

git-svn-id: https://forge.glpi-project.org/svn/example/trunk@93 349b9182-4a13-0410-896f-e5e9767dd1b3
This commit is contained in:
remicollet 2009-09-03 16:59:58 +00:00
parent 15b8a6cdf8
commit 365fe56a03

View File

@ -677,9 +677,14 @@ function plugin_example_cron_sample_run($task) {
*/
function plugin_example_cron_sample_info($name) {
switch ($name) {
case 'sample':
return array (
'description' => "Example cron task", // Mandatory
'parameter' => "Example parameter"); // Optional
break;
}
return array();
}