mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 11:05:58 +02:00
Fixed conflict
This commit is contained in:
parent
bb714ccea2
commit
74fb217661
@ -94,15 +94,9 @@ class Blog extends Page {
|
|||||||
**/
|
**/
|
||||||
public function getExcludedSiteTreeClassNames() {
|
public function getExcludedSiteTreeClassNames() {
|
||||||
$classes = array();
|
$classes = array();
|
||||||
<<<<<<< HEAD
|
|
||||||
$tmpClasses = $this->allowedChildren();
|
$tmpClasses = $this->allowedChildren();
|
||||||
foreach($tmpClasses as $class) {
|
foreach($tmpClasses as $class) {
|
||||||
if(!Config::inst()->get($class, "show_in_sitetree")) {
|
if(!Config::inst()->get($class, "show_in_sitetree")) {
|
||||||
=======
|
|
||||||
$tmpClasses = ClassInfo::subClassesFor("BlogPost");
|
|
||||||
if(!Config::inst()->get(get_class($this), "show_in_sitetree")) {
|
|
||||||
foreach($tmpClasses as $class) {
|
|
||||||
>>>>>>> 7d178790f605ae8740a99f1804801e6d985ca755
|
|
||||||
$classes[$class] = $class;
|
$classes[$class] = $class;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -411,4 +405,4 @@ class Blog_Controller extends Page_Controller {
|
|||||||
return $this->Link("rss");
|
return $this->Link("rss");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user