Pārlūkot izejas kodu

#53 - renaming BxDolCronCmd to BxDolCronPruning

Alex Trofimov 12 gadi atpakaļ
vecāks
revīzija
66cc8d1ab3

+ 1 - 1
inc/classes/BxDolCron.php

@@ -68,7 +68,7 @@
  *
  * 2. Add record in `sys_cron_jobs` table
  *
- * @see an example of BxDolCronCmd, BxDolCronStorage.
+ * @see an example of BxDolCronPruning, BxDolCronStorage.
  *
  *
  * Memberships/ACL:

+ 1 - 1
inc/classes/BxDolCronCmd.php → inc/classes/BxDolCronPruning.php

@@ -9,7 +9,7 @@
 
 bx_import('BxDolCron');
 
-class BxDolCronCmd extends BxDolCron 
+class BxDolCronPruning extends BxDolCron 
 {
     protected function start() 
     {

+ 1 - 1
install/sql/system.sql

@@ -984,7 +984,7 @@ CREATE TABLE `sys_cron_jobs` (
 ) ENGINE=MyISAM  DEFAULT CHARSET=utf8;
 
 INSERT INTO `sys_cron_jobs` (`name`, `time`, `class`, `file`, `service_call`) VALUES
-('cmd', '0 0 * * *', 'BxDolCronCmd', 'inc/classes/BxDolCronCmd.php', ''),
+('pruning', '0 0 * * *', 'BxDolCronPruning', 'inc/classes/BxDolCronPruning.php', ''),
 ('sys_storage', '* * * * *', 'BxDolCronStorage', 'inc/classes/BxDolCronStorage.php', '');
 
 -- --------------------------------------------------------