mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
MINOR: Remove debug message
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@72963 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
a7d8b91b4f
commit
842ae9f540
@ -123,7 +123,6 @@ class SSViewer extends Object {
|
|||||||
if (isset($_GET['flush']) && $_GET['flush'] == 'all') {
|
if (isset($_GET['flush']) && $_GET['flush'] == 'all') {
|
||||||
if(Director::isDev() || Permission::check('ADMIN')) {
|
if(Director::isDev() || Permission::check('ADMIN')) {
|
||||||
self::flush_template_cache();
|
self::flush_template_cache();
|
||||||
Debug::message('flushed!');
|
|
||||||
} else {
|
} else {
|
||||||
Security::permissionFailure(null, 'Please log in as an administrator to flush the template cache.');
|
Security::permissionFailure(null, 'Please log in as an administrator to flush the template cache.');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user