Skip to content

Commit

Permalink
Merge pull request #4050 from dokuwiki/bot/autofix
Browse files Browse the repository at this point in the history
🤖 Automatic code style fixes
  • Loading branch information
Klap-in committed Sep 7, 2023
2 parents 14b7162 + efc3ac2 commit 2c6bdf5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion inc/Extension/SyntaxPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
*/
abstract class SyntaxPlugin extends Plugin
{

protected $allowedModesSetup = false;

/**
Expand Down
2 changes: 1 addition & 1 deletion inc/Remote/ApiCore.php
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,7 @@ public function pageVersions($id, $first = 0)

$first = (int)$first;
$first_rev = $first - 1;
$first_rev = $first_rev < 0 ? 0 : $first_rev;
$first_rev = max(0, $first_rev);

$pagelog = new PageChangeLog($id);
$revisions = $pagelog->getRevisions($first_rev, $conf['recent']);
Expand Down

0 comments on commit 2c6bdf5

Please sign in to comment.