Skip to content

Commit

Permalink
Merge pull request #3242 from nextcloud/backport/3238/stable30
Browse files Browse the repository at this point in the history
  • Loading branch information
provokateurin authored Sep 17, 2024
2 parents 4b3969d + 208ced1 commit 7f65031
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 318 deletions.
1 change: 0 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"phpunit/phpunit": "^9",
"sabre/dav": "^4.1",
"sabre/xml": "^2.2",
"symfony/event-dispatcher": "^5.3.11",
"psalm/phar": "^5.9",
"nextcloud/coding-standard": "^1.0",
"nextcloud/ocp": "dev-stable30"
Expand Down
313 changes: 1 addition & 312 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 2 additions & 5 deletions lib/CacheListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,13 @@
namespace OCA\GroupFolders;

use OCA\GroupFolders\Mount\GroupFolderStorage;
use OCP\EventDispatcher\IEventDispatcher;
use OCP\Files\Cache\CacheInsertEvent;
use OCP\Files\Cache\CacheUpdateEvent;
use OCP\Files\Cache\ICacheEvent;
use Symfony\Component\EventDispatcher\EventDispatcher;

class CacheListener {
private EventDispatcher $eventDispatcher;

public function __construct(EventDispatcher $eventDispatcher) {
$this->eventDispatcher = $eventDispatcher;
public function __construct(private IEventDispatcher $eventDispatcher) {
}

public function listen(): void {
Expand Down

0 comments on commit 7f65031

Please sign in to comment.