diff options
Diffstat (limited to 'lib/models/WikiPage.class.php')
| -rw-r--r-- | lib/models/WikiPage.class.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/models/WikiPage.class.php b/lib/models/WikiPage.class.php index 82abcd4..a2520df 100644 --- a/lib/models/WikiPage.class.php +++ b/lib/models/WikiPage.class.php @@ -139,8 +139,7 @@ class WikiPage extends SimpleORMap implements PrivacyObject // anyone can see this page if it belongs to a free course if (!$this->config->read_restricted && Config::get()->ENABLE_FREE_ACCESS - && $this->course && $this->course->lesezugriff == 0) - { + && $this->course && $this->course->lesezugriff == 0) { return true; } @@ -236,7 +235,8 @@ class WikiPage extends SimpleORMap implements PrivacyObject * * @param string ancestor Wikipage name to be set as the parent */ - public function setAncestorForAllVersions($ancestor) { + public function setAncestorForAllVersions($ancestor) + { $query = "UPDATE wiki SET |
