Skip to content

Commit cb21322

Browse files
chore(files_trashbin): fixup typo in Trashbin class
Signed-off-by: Josh <josh.t.richards@gmail.com>
1 parent 24938ce commit cb21322

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/files_trashbin/lib/Trashbin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ public static function move2trash($file_path, $ownerOnly = false) {
254254
[$owner, $ownerPath] = self::getUidAndFilename($file_path);
255255

256256
// if no owner found (ex: ext storage + share link), will use the current user's trashbin then
257-
if ($owner === null)) {
257+
if ($owner === null) {
258258
$owner = $user;
259259
$ownerPath = $file_path;
260260
}

0 commit comments

Comments
 (0)