Skip to content

Commit

Permalink
Merge pull request #16 from cosmocode/bot/autofix
Browse files Browse the repository at this point in the history
🤖 Automatic code style fixes
  • Loading branch information
annda authored Oct 10, 2024
2 parents f82d2ef + c510d2b commit 43bcc1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php

use dokuwiki\Cache\Cache;
use dokuwiki\Extension\ActionPlugin;
use dokuwiki\Extension\EventHandler;
use dokuwiki\Extension\Event;
Expand Down Expand Up @@ -269,7 +270,7 @@ protected function fetchUsersAndGroups()
$groups = [];

// check cache
$cachedGroups = new \dokuwiki\Cache\Cache('retrievedGroups', '.txt');
$cachedGroups = new Cache('retrievedGroups', '.txt');
if ($cachedGroups->useCache(['age' => 30])) {
$foundGroups = unserialize($cachedGroups->retrieveCache());
} else {
Expand Down

0 comments on commit 43bcc1d

Please sign in to comment.