@@ -26,12 +26,12 @@ |
||
| 26 | 26 | } |
| 27 | 27 | |
| 28 | 28 | public function getLumberjackPagesForGridfield($excluded = array()) |
| 29 | - { |
|
| 30 | - return NewsArticle::get()->filter(array( |
|
| 31 | - 'ParentID' => $this->ID, |
|
| 32 | - 'ClassName' => $excluded, |
|
| 33 | - )); |
|
| 34 | - } |
|
| 29 | + { |
|
| 30 | + return NewsArticle::get()->filter(array( |
|
| 31 | + 'ParentID' => $this->ID, |
|
| 32 | + 'ClassName' => $excluded, |
|
| 33 | + )); |
|
| 34 | + } |
|
| 35 | 35 | |
| 36 | 36 | // Only allows certain children to be created |
| 37 | 37 | private static $allowed_children = array('NewsArticle'); |