|
@@ -46,11 +46,11 @@ |
|
|
block discarded – undo |
|
46
|
46
|
|
|
47
|
47
|
$page = Hyde::pages()->getPage($pagePath); |
|
48
|
48
|
|
|
49
|
|
- if (! $page instanceof BaseMarkdownPage) { |
|
|
49
|
+ if (!$page instanceof BaseMarkdownPage) { |
|
50
|
50
|
$this->abort(400, 'Page is not a markdown page'); |
|
51
|
51
|
} |
|
52
|
52
|
|
|
53
|
|
- if (! $force && hash('sha256', $page->markdown()->body()) !== $currentContentHash) { |
|
|
53
|
+ if (!$force && hash('sha256', $page->markdown()->body()) !== $currentContentHash) { |
|
54
|
54
|
$this->abort(409, 'Content has changed in another window'); |
|
55
|
55
|
} |
|
56
|
56
|
|
Please login to merge, or discard this patch.