Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor Lesson 12 #102

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Refactor php files
  • Loading branch information
manuth committed Oct 17, 2019
commit a0b2608c79f984458ab5298a429ff0e485e238ed
1 change: 0 additions & 1 deletion Lesson-12-begin/app/src/ArticleHolder.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
use SilverStripe\Forms\GridField\GridField;
use SilverStripe\Forms\GridField\GridFieldConfig_RecordEditor;


class ArticleHolder extends Page
{
private static $allowed_children = [
Expand Down
1 change: 0 additions & 1 deletion Lesson-12-begin/app/src/ArticlePage.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ public function getCMSFields()
$this->Parent()->Categories()->map('ID','Title')
));
return $fields;
return $fields;
}

public function CategoriesList()
Expand Down
1 change: 0 additions & 1 deletion Lesson-12-end/app/src/ArticleHolder.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
use SilverStripe\Forms\GridField\GridField;
use SilverStripe\Forms\GridField\GridFieldConfig_RecordEditor;


class ArticleHolder extends Page
{
private static $allowed_children = [
Expand Down
1 change: 0 additions & 1 deletion Lesson-12-end/app/src/ArticlePage.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ public function getCMSFields()
$this->Parent()->Categories()->map('ID','Title')
));
return $fields;
return $fields;
}

public function CategoriesList()
Expand Down