mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
ENHANCEMENT: Be strict about deprecation errors for new 3.0.0 APIs, since we've removed references to them from core.
This commit is contained in:
parent
085598fac0
commit
4f16c5fa8f
@ -78,7 +78,8 @@ if (!is_dir($aggregatecachedir)) mkdir($aggregatecachedir);
|
|||||||
SS_Cache::add_backend('aggregatestore', 'File', array('cache_dir' => $aggregatecachedir));
|
SS_Cache::add_backend('aggregatestore', 'File', array('cache_dir' => $aggregatecachedir));
|
||||||
SS_Cache::pick_backend('aggregatestore', 'aggregate', 1000);
|
SS_Cache::pick_backend('aggregatestore', 'aggregate', 1000);
|
||||||
|
|
||||||
Deprecation::notification_version('3.0.0-dev');
|
// If you don't want to see deprecation errors for the new APIs, change this to 3.0.0-dev.
|
||||||
|
Deprecation::notification_version('3.0.0');
|
||||||
|
|
||||||
// TODO Remove once new ManifestBuilder with submodule support is in place
|
// TODO Remove once new ManifestBuilder with submodule support is in place
|
||||||
require_once('admin/_config.php');
|
require_once('admin/_config.php');
|
Loading…
Reference in New Issue
Block a user