summaryrefslogtreecommitdiffstats
path: root/apps/gallery/lib/album.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/gallery/lib/album.php')
-rw-r--r--apps/gallery/lib/album.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/gallery/lib/album.php b/apps/gallery/lib/album.php
index 39d6d3aded1..701949d4d80 100644
--- a/apps/gallery/lib/album.php
+++ b/apps/gallery/lib/album.php
@@ -58,7 +58,7 @@ class OC_Gallery_Album {
return $stmt->execute($args);
}
- public static function removeByName($owner, $name) { self::remove($ownmer, $name); }
+ public static function removeByName($owner, $name) { self::remove($owner, $name); }
public static function removeByPath($owner, $path) { self::remove($owner, null, $path); }
public static function removeByParentPath($owner, $parent) { self::remove($owner, null, null, $parent); }