aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/cache/driver/memory.php
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/11037] Eliminate global $db usage in cache drivers.Oleg Pudeyev2012-12-201-4/+2
| | | | | | | The only time $db is needed in cache drivers is to navigate the result set in sql_save. Pass it as a parameter in that function. PHPBB3-11037
* Merge PR #974 branch 'bantu/ticket/10875' into developOleg Pudeyev2012-11-301-3/+1
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bantu/ticket/10875: [ticket/10875] tests/cache/cache_test.php: Use single quotes where possible. [ticket/10875] Test for null cache driver and sql cache. [ticket/10875] Revise sql cache test. [ticket/10875] Must return query result on failure. [ticket/10875] More documentation. [ticket/10875] Spelling fix. [ticket/10875] Add docblocks for phpbb_cache_driver_interface [ticket/10875] Add comment about cache's sql_load() method. [ticket/10875] Fix logic in phpbb_cache_driver_file::sql_save(). [ticket/10875] Fix phpbb_mock_cache::sql_save() to return $query_result. [ticket/10875] Fix return value of phpbb_cache_driver_null::sql_save(). [ticket/10875] Remove useless assignment from phpbb_cache_driver_memory.
| * [ticket/10875] Must return query result on failure.Oleg Pudeyev2012-11-301-1/+1
| | | | | | | | PHPBB3-10875
| * [ticket/10875] Remove useless assignment from phpbb_cache_driver_memory.Andreas Fischer2012-10-301-2/+0
| | | | | | | | | | | | | | sql_save() no longer takes $query_result as a reference, thus this assignment is a no-op. PHPBB3-10875
* | [feature/controller] Remove dumped container when cache is purgedDavid King2012-11-161-0/+1
| | | | | | | | PHPBB3-10864
* | [ticket/11199] Match cache purge container files against container_*Igor Wiedler2012-11-151-1/+1
| | | | | | | | | | | | | | Previously it was matching against only container*, checking for the underscore is consistent with the other checks. PHPBB3-11199
* | [ticket/11199] Revert merge of 'marc1706/ticket/11199' into developOleg Pudeyev2012-11-141-1/+1
| | | | | | | | | | | | | | | | | | | | This reverts commit 303fc646adf9104d7c82cf8bcebbc8fc0d328624, reversing changes made to 9c28470ad7b45c10ce3a32065650e4b17f9f27ea. The correct fix should be to alter the container file name to start with container_ prefix. PHPBB3-11199
* | [ticket/11199] Cache purge does not remove dumped containerMarc Alexander2012-11-141-1/+1
| | | | | | | | PHPBB3-11199
* | [feature/compiled-dic] Split if() over multiple lines for improved readabilityDavid King2012-11-101-1/+5
| | | | | | | | PHPBB3-11152
* | [feature/compiled-dic] Compile the DI Container into a cached classDavid King2012-11-101-1/+1
|/ | | | PHPBB3-11152
* [ticket/11083] Mark memory cache driver as abstractIgor Wiedler2012-09-011-1/+1
| | | | PHPBB3-11083
* [ticket/10875] Return $query_id from sql_saveNathan Guse2012-08-061-0/+2
| | | | | | | | Have to return the $query_id from sql_save so that the results can be pulled Updated cache test to do some basic sql cache testing. PHPBB3-10875
* [ticket/10875] Fix SQL CachingNathan Guse2012-07-301-1/+1
| | | | | | | | | | | The sql_save function cannot take arguments by reference since it is called by call_user_func_array() Replace use of isset($cache->sql_rowset[$query_id]) with $cache->sql_exists Replace $cache->cache_dir with $cache->get_driver()->cache_dir PHPBB3-10875
* [ticket/9916] Updating header license and removing Version $Id$Unknown2011-12-311-2/+1
| | | | PHPBB3-9916
* [task/acm-refactor] Refactor the ACM classes to have a common interface.Igor Wiedler2011-01-091-0/+437
They are now refered to as cache drivers rather than ACM classes. The additional utility functions from the original cache class have been moved to the cache_service. The class loader is now instantiated without a cache instance and passed one as soon as it is constructed to allow autoloading the cache classes. PHPBB3-9983