From 193ffade5468c5a2b3408e2b45082f93c845e3ff Mon Sep 17 00:00:00 2001 From: Sam Georges Date: Tue, 20 May 2014 10:25:04 +1000 Subject: [PATCH] Minor --- modules/cms/controllers/Index.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/modules/cms/controllers/Index.php b/modules/cms/controllers/Index.php index f3712f609..eac9b9e99 100644 --- a/modules/cms/controllers/Index.php +++ b/modules/cms/controllers/Index.php @@ -148,7 +148,6 @@ class Index extends Controller $templateData['markup'] = $this->convertLineEndings($templateData['markup']); } - if (!Request::input('templateForceSave') && $template->mtime) { if (Request::input('templateMtime') != $template->mtime) throw new ApplicationException('mtime-mismatch'); @@ -369,12 +368,10 @@ class Index extends Controller } /** - * convertLineEndings Replaces Windows style (/r/n) line endings with unix style (/n) + * Replaces Windows style (/r/n) line endings with unix style (/n) * line endings. - * * @param string $markup The markup to convert to unix style endings - * - * @return string $markup + * @return string */ private function convertLineEndings($markup) {