From 7030578bbe9e11c18b5becaf8b06e670e3c2e3cd Mon Sep 17 00:00:00 2001 From: Nils Adermann Date: Sun, 14 Jul 2013 01:32:34 -0400 Subject: [ticket/11698] Moving all autoloadable files to phpbb/ PHPBB3-11698 --- phpBB/phpbb/cron/task/base.php | 76 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 76 insertions(+) create mode 100644 phpBB/phpbb/cron/task/base.php (limited to 'phpBB/phpbb/cron/task/base.php') diff --git a/phpBB/phpbb/cron/task/base.php b/phpBB/phpbb/cron/task/base.php new file mode 100644 index 0000000000..94a2f267b4 --- /dev/null +++ b/phpBB/phpbb/cron/task/base.php @@ -0,0 +1,76 @@ +name; + } + + /** + * Sets the name of the task. + * + * @param string $name The task name + */ + public function set_name($name) + { + $this->name = $name; + } + + /** + * Returns whether this cron task can run, given current board configuration. + * + * For example, a cron task that prunes forums can only run when + * forum pruning is enabled. + * + * @return bool + */ + public function is_runnable() + { + return true; + } + + /** + * Returns whether this cron task should run now, because enough time + * has passed since it was last run. + * + * @return bool + */ + public function should_run() + { + return true; + } +} -- cgit v1.2.1 e'>topic/MDK-10_1-update Mageia Installer and base platform for many utilitiesThierry Vignaud [tv]
summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/po/af.po
diff options
context:
space:
mode:
authorMichal Bukovjan <mbukovjan@mandriva.com>2009-04-02 21:53:08 +0000
committerMichal Bukovjan <mbukovjan@mandriva.com>2009-04-02 21:53:08 +0000
commit3c71ac94e96f6a4cae15d1168f13f375fa8e2f4e (patch)
tree451c03a85ed6fe52c3b0b662a2b769d9d8c23fbf /perl-install/standalone/po/af.po
parent36f4d8e4358a1f452ce9f0a9493457a39d6eebeb (diff)
downloaddrakx-backup-do-not-use-3c71ac94e96f6a4cae15d1168f13f375fa8e2f4e.tar
drakx-backup-do-not-use-3c71ac94e96f6a4cae15d1168f13f375fa8e2f4e.tar.gz
drakx-backup-do-not-use-3c71ac94e96f6a4cae15d1168f13f375fa8e2f4e.tar.bz2
drakx-backup-do-not-use-3c71ac94e96f6a4cae15d1168f13f375fa8e2f4e.tar.xz
drakx-backup-do-not-use-3c71ac94e96f6a4cae15d1168f13f375fa8e2f4e.zip
Updated Czech translation.
Diffstat (limited to 'perl-install/standalone/po/af.po')
0 files changed, 0 insertions, 0 deletions