diff options
| author | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2023-05-08 17:08:52 +0200 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2023-05-08 17:08:52 +0200 |
| commit | a1fda2758e9c241ac3eb980ac8716dfedbe9dd3c (patch) | |
| tree | 2190f0478fb153efdb8ba48ebb574c7691f4f351 /lib/models/WikiPage.class.php | |
| parent | 244d00ed91ad2b4b83e902a45cd6def3d7bc7e86 (diff) | |
let phpcsfixer fix errors according to @PSR12 rules on lib/modelsphpcsfixer
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 |
