mirror of
https://github.com/silverstripe/silverstripe-cms
synced 2024-10-22 08:05:56 +02:00
BUGFIX Removed $_ALL_CLASSES in ReportAdmin::has_reports() - this doesn't need to be here anymore, due to changes in ManifestBuilder
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@64038 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
8b194ab627
commit
8cd9b6f4d9
@ -164,7 +164,6 @@ class ReportAdmin extends LeftAndMain {
|
|||||||
* @return boolean
|
* @return boolean
|
||||||
*/
|
*/
|
||||||
public static function has_reports() {
|
public static function has_reports() {
|
||||||
global $_ALL_CLASSES;
|
|
||||||
$subClasses = ClassInfo::subclassesFor('SSReport');
|
$subClasses = ClassInfo::subclassesFor('SSReport');
|
||||||
|
|
||||||
if($subClasses) {
|
if($subClasses) {
|
||||||
|
Loading…
Reference in New Issue
Block a user