mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
#2283 Permissions are a bit broken - what happened to all the CMS permissions?
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@50950 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
c35ae17168
commit
d21d2a07f9
@ -365,14 +365,15 @@ class ManifestBuilder {
|
|||||||
$args = split("implements", $classes[1][$i]);
|
$args = split("implements", $classes[1][$i]);
|
||||||
$implements = isset($args[1]) ? $args[1] : null;
|
$implements = isset($args[1]) ? $args[1] : null;
|
||||||
|
|
||||||
$interfaces = explode(",", $implements);
|
$interfaces = explode(",", trim($implements));
|
||||||
|
|
||||||
$args = split("extends", $args[0]);
|
$args = split("extends", $args[0]);
|
||||||
$extends = trim(isset($args[1]) ? $args[1] : null);
|
$extends = trim(isset($args[1]) ? $args[1] : null);
|
||||||
$class = trim($args[0]);
|
$class = trim($args[0]);
|
||||||
if($extends) self::$extendsArray[$extends][$class] = $class;
|
if($extends) self::$extendsArray[trim($extends)][$class] = $class;
|
||||||
|
|
||||||
foreach($interfaces as $interface) {
|
foreach($interfaces as $interface) {
|
||||||
self::$implementsArray[$interface][$class] = $class;
|
self::$implementsArray[trim($interface)][$class] = $class;
|
||||||
}
|
}
|
||||||
|
|
||||||
self::$classArray[$class] = array(
|
self::$classArray[$class] = array(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user