</thead>
<tbody>
- {foreach from=$cronjob item=cronjob}
+ {foreach from=$cronjobs item=cronjob}
<tr class="cronjobRow">
<td class="columnIcon">
{if $__wcf->session->getPermission('admin.system.cronjob.canEditCronjob')}
parent::assignVariables();
WCF::getTPL()->assign(array(
- 'cronjob' => $this->objectList->getObjects()
+ 'cronjobs' => $this->objectList->getObjects()
));
}
* @see wcf\data\IEditableCachedObject::resetCache()
*/
public static function resetCache() {
- CacheHandler::getInstance()->clear(WCF_DIR.'cache', 'cache.cronjob-*');
+ CacheHandler::getInstance()->clear(WCF_DIR.'cache', 'cache.cronjobs-*');
}
}
* Loads the cached data for cronjob execution.
*/
protected function loadCache() {
- $cacheName = 'cronjob-'.PACKAGE_ID;
+ $cacheName = 'cronjobs-'.PACKAGE_ID;
CacheHandler::getInstance()->addResource(
$cacheName,
WCF_DIR.'cache/cache.'.$cacheName.'.php',
* Clears the cronjob data cache.
*/
public static function clearCache() {
- CacheHandler::getInstance()->clear(WCF_DIR.'cache/', 'cache.cronjob-'.PACKAGE_ID.'.php');
+ CacheHandler::getInstance()->clear(WCF_DIR.'cache/', 'cache.cronjobs-'.PACKAGE_ID.'.php');
}
}
* @author Siegfried Schweizer
* @copyright 2001-2011 WoltLab GmbH
* @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @package com.woltlab.wcf.data.cronjob
+ * @package com.woltlab.wcf
* @subpackage system.cronjob
* @category Community Framework
*/