Changeset 389
- Timestamp:
- 07/21/10 09:29:44 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/www/app/vendors/shells/validators.php
r388 r389 68 68 } 69 69 70 $count = 0; 70 $count_add = 0; 71 $count_remove = 0; 71 72 72 73 // Find all requests … … 94 95 ))); 95 96 $this->Validator->defer('run'); 96 $count ++;97 $count_add++; 97 98 } 98 99 } … … 112 113 $this->Validator->id = $validator_bug['id']; 113 114 $this->Validator->delete(); 115 $count_remove++; 114 116 } 115 117 … … 130 132 ))); 131 133 $this->Validator->defer('run'); 132 $count++; 133 } 134 } 135 } 136 137 $this->out(sprintf('Created and scheduled %d validators to run in the background.', $count)); 134 $count_add++; 135 } 136 } 137 } 138 139 $this->out(sprintf('Created and scheduled %d validators to run in the background.', $count_add)); 140 141 if ($count_remove > 0) { 142 $this->out(sprintf('Removed %d validators that were added in error.', $count_add)); 143 } 138 144 } 139 145
Note: See TracChangeset
for help on using the changeset viewer.