edcac438df
[ticket/10875] method_exists check is not required, interface declares them
...
The changes to the cache drivers added an interface, which requires many
cache functions exist. For these, we can remove the method_exists() check
PHPBB3-10875
2012-07-30 15:57:51 -05:00
828eaecf6a
[ticket/10875] Changes to Cache Driver caused method_exists checks to fail
...
SQL Cache and other functions using the check
method_exists($cache,
failed because of the changes to the cache system.
method_exists($cache has been changed to
method_exists($cache->get_driver()
PHPBB3-10875
2012-07-30 15:31:27 -05:00
7a04c9048c
[ticket/9916] Updating header license and removing Version $Id$
...
PHPBB3-9916
2011-12-31 13:32:52 +00:00
0d296785b2
[feature/extension-manager] Rename default methods to core methods on finder.
...
There are now extension_ and core_ methods for all finder settings as well as
a generic method which overwrites both.
PHPBB3-10323
2011-11-18 16:44:42 +01:00
520a5f9295
[feature/extension-manager] Refactoring the structure of extension provider
...
PHPBB3-10323
2011-09-29 16:15:53 +02:00
6c6a7d7992
[feature/extension-manager] Extract extension provider functionality from cron
...
PHPBB3-10323
2011-09-29 15:42:49 +02:00
24ddef2230
[feature/extension-manager] Remove 5.2 incompatible \ in front of SPL classname
...
PHPBB-10323
2011-09-29 15:42:48 +02:00
5d5030a48b
[feature/extension-manager] Remove cron's dependency on the extension manager.
...
Instead a separate cron provider supplies the manager with tasks from the
extension finder.
PHPBB3-10323
2011-09-29 15:42:46 +02:00
fabde989a2
[feature/extension-manager] Porting cron tasks over to the extension finder
...
PHPBB3-10323
2011-09-29 15:42:33 +02:00
f231590c7b
[ticket/10156] Fix new cron on windows.
...
PHPBB3-10156
2011-05-19 22:34:18 -04:00
a627133b15
[ticket/10046] Remove register_shutdown_function() in cron.php from develop.
...
PHPBB3-10046
2011-03-12 15:07:31 +01:00
4e689c522f
[feature/system-cron] Added documentation for cron manager constructor.
...
PHPBB3-9596
2011-02-12 22:05:54 -05:00
92c278d39a
[feature/system-cron] Remove an unecessary assignment and an unecessary comment
...
PHPBB3-9596
2011-02-12 22:05:54 -05:00
7a2c5e618b
[feature/system-cron] preg_match returns int so cast to bool, fix comment
...
PHPBB3-9596
2011-02-12 22:05:54 -05:00
09b136272b
[feature/system-cron] Cache cron's task names.
...
Instead of using a path relative to phpbb_root_path the path to the task
directory is directly passed to the cron manager. Dummy tasks are now
in the tests directory directly.
PHPBB3-9596
2011-02-12 22:05:54 -05:00
7a8233020b
[feature/system-cron] Use a RecursiveDirectoryIterator instead of readdir.
...
PHPBB3-9596
2011-02-12 22:05:54 -05:00
9bc62056b2
[feature/system-cron] Add array type hints if appropriate and remove globals.
...
PHPBB3-9596
2011-02-12 22:05:53 -05:00
3a3a8bb96d
[feature/system-cron] Abstract the database locking mechanism out of cron.
...
Added a number of tests for the locking mechanism which can now lock
arbitrary config variables.
PHPBB3-9596
2011-02-12 22:05:53 -05:00
53dd847dd5
[feature/system-cron] Added @param/@return documentation
...
Also adjusted some function descriptions for greater informativity.
PHPBB3-9596
2011-02-12 22:05:53 -05:00
47702b8ca7
[feature/system-cron] Add phpDoc documentation for everything else.
...
PHPBB3-9596
2011-02-12 22:05:53 -05:00
3c0561b68f
[feature/system-cron] Cast result in cron_manager::is_valid_name() to bool.
...
PHPBB3-9596
2011-02-12 22:05:52 -05:00
f4f8523ca3
[feature/system-cron] Add phpDoc documentation for phpbb_cron_manager class.
...
PHPBB3-9596
2011-02-12 22:05:52 -05:00
134afe36e2
[feature/system-cron] Add phpDoc documentation for phpbb_cron_lock class.
...
PHPBB3-9596
2011-02-12 22:05:52 -05:00
6fc11184e7
[feature/system-cron] Adjust SQL query style to follow coding guidelines.
...
PHPBB3-9596
2011-02-12 22:05:52 -05:00
6235957aa1
[feature/system-cron] Fix indention in phpbb_cron_manager::load_tasks()
...
PHPBB3-9596
2011-02-12 22:05:52 -05:00
afc538366b
[feature/system-cron] Remove $Id$ from PHP file header
...
PHPBB3-9596
2011-02-12 22:05:52 -05:00
4302dab5fa
[feature/system-cron] coding guidelines adjustments
...
PHPBB3-9596
2011-02-12 22:05:52 -05:00
e48b850ab5
[feature/system-cron] use phpbb_request instead of plain superglobals
...
PHPBB3-9596
2011-02-12 22:05:52 -05:00
b50e486567
[feature/system-cron] adjust some comments to reflect phpbb_ prefix
...
PHPBB3-9596
2011-02-12 22:05:52 -05:00
4f86b4d205
[feature/system-cron] add spaces to comply with coding guidelines
...
PHPBB3-9596
2011-02-12 22:05:52 -05:00
132d2c2bd8
[feature/system-cron] adjust some last filenames to make autoloading work
...
PHPBB3-9596
2011-02-12 22:05:52 -05:00
bd58fa49c0
[feature/system-cron] make parameterized interface autoloadable
...
also extract it to a separate file
PHPBB3-9596
2011-02-12 22:05:52 -05:00
a9e0f9947d
[feature/system-cron] add phpbb_ prefix to all class names
...
PHPBB3-9596
2011-02-12 22:05:51 -05:00
0aa491ffa2
[feature/system-cron] rewrite cron manager to use autoloading
...
PHPBB3-9596
2011-02-12 22:05:51 -05:00
5a075c3dca
[feature/system-cron] remove more includes, adjust path
...
PHPBB3-9596
2011-02-12 22:05:51 -05:00
c9bd1b392d
[feature/system-cron] remove conditional includes in favour of autoloading
...
PHPBB3-9596
2011-02-12 22:05:51 -05:00
1bfbcb8b7e
[feature/system-cron] remove cron_ prefix from files
...
PHPBB3-9596
2011-02-12 22:05:51 -05:00
794d376be4
[feature/system-cron] rename tasks to task
...
PHPBB3-9596
2011-02-12 22:05:51 -05:00
fb461c57ed
[feature/system-cron] Removed generate_generic_task_code function
...
PHPBB3-9596
2011-02-12 22:05:51 -05:00
8c8211d15a
[feature/system-cron] Added missing visibility keywords.
...
PHPBB3-9596
2011-02-12 22:05:51 -05:00
3e707cf266
[feature/system-cron] Replaced intval with (int) cast as requested.
...
PHPBB3-9596
2011-02-12 22:05:51 -05:00
f345662b21
[feature/system-cron] Use intval() to convert to int.
...
PHPBB3-9596
2011-02-12 22:05:51 -05:00
ccf5902c50
[feature/system-cron] Fixed instantiate_task to work correctly.
...
PHPBB3-9596
2011-02-12 22:05:51 -05:00
071472a6fd
[feature/system-cron] Use complete cron task class name as cron task name
...
PHPBB3-9596
2011-02-12 22:05:50 -05:00
8cc2819610
[feature/system-cron] Require cron task wrapper constructor to be a cron task.
...
PHPBB3-9596
2011-02-12 22:05:50 -05:00
be087826b0
[feature/system-cron] Added missing include to prune all forums task.
...
PHPBB3-9596
2011-02-12 22:05:50 -05:00
d6fcea23a4
[feature/system-cron] Note that releasing a released cron lock is harmless.
...
PHPBB3-9596
2011-02-12 22:05:50 -05:00
562bbc885e
[feature/system-cron] Use interface_exists to check for interface existence.
...
PHPBB3-9596
2011-02-12 22:05:50 -05:00
ce5204dcfd
[feature/system-cron] Comment about shutdown function safety in queue cron task.
...
PHPBB3-9596
2011-02-12 22:05:50 -05:00
c25736ca25
[feature/system-cron] Changed !! to (bool) as requested.
...
PHPBB3-9596
2011-02-12 22:05:50 -05:00