summaryrefslogtreecommitdiffstats
path: root/lib/files/filesystem.php
diff options
context:
space:
mode:
authorMichael Gapczynski <mtgap@owncloud.com>2013-01-03 12:13:45 -0500
committerMichael Gapczynski <mtgap@owncloud.com>2013-01-03 12:13:45 -0500
commit1137723b2a46c37d61e7f501694c73562b21ef74 (patch)
tree14b988dffc7c8577d3c5ae8c3efa3cabc56ad95a /lib/files/filesystem.php
parent38876fc98a11a917e68780357d7f4b5a146ba89a (diff)
downloadnextcloud-server-1137723b2a46c37d61e7f501694c73562b21ef74.tar.gz
nextcloud-server-1137723b2a46c37d61e7f501694c73562b21ef74.zip
Remove unnecessary length parameter from last commit
Diffstat (limited to 'lib/files/filesystem.php')
-rw-r--r--lib/files/filesystem.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/files/filesystem.php b/lib/files/filesystem.php
index b9fd6a03762..d9487bde806 100644
--- a/lib/files/filesystem.php
+++ b/lib/files/filesystem.php
@@ -366,7 +366,7 @@ class Filesystem {
}
// Update old classes to new namespace
if (strpos($class, 'OC_Filestorage_') !== false) {
- $class = '\OC\Files\Storage\\'.substr($class, 15, strlen($class) - 15);
+ $class = '\OC\Files\Storage\\'.substr($class, 15);
}
if ($class instanceof \OC\Files\Storage\Storage) {
self::$mounts[$mountpoint] = array('class' => get_class($class), 'arguments' => $arguments);