Просмотр исходного кода

#50 - Get rid of usage of eval PHP function (Cron).

AntonLV 12 лет назад
Родитель
Сommit
ca270ebc9e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      modules/boonex/antispam/install/sql/enable.sql

+ 1 - 1
modules/boonex/antispam/install/sql/enable.sql

@@ -200,6 +200,6 @@ INSERT INTO `sys_email_templates` (`Module`, `NameSystem`, `Name`, `Subject`, `B
 
 -- cron
 
-INSERT INTO `sys_cron_jobs` (`name`, `time`, `class`, `file`, `eval`) VALUES
+INSERT INTO `sys_cron_jobs` (`name`, `time`, `class`, `file`, `service_call`) VALUES
 ('bx_antispam_pruning', '0 0 * * *', 'BxAntispamCronPruning', 'modules/boonex/antispam/classes/BxAntispamCronPruning.php', '');