summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/smb.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2012-10-11 23:17:59 +0200
committerRobin Appelman <icewind@owncloud.com>2012-10-11 23:17:59 +0200
commit141ff806c6cfbd349ffa232502a89a620882c409 (patch)
treeecbda331b5750216339be983fd28b543aeb3b4e7 /apps/files_external/lib/smb.php
parent542869114ad67295d61450e637b15a1f4d3ae209 (diff)
downloadnextcloud-server-141ff806c6cfbd349ffa232502a89a620882c409.tar.gz
nextcloud-server-141ff806c6cfbd349ffa232502a89a620882c409.zip
fix namespace problems for external storage backends
Diffstat (limited to 'apps/files_external/lib/smb.php')
-rw-r--r--apps/files_external/lib/smb.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/files_external/lib/smb.php b/apps/files_external/lib/smb.php
index 71c7a91ec93..dfba3105ecb 100644
--- a/apps/files_external/lib/smb.php
+++ b/apps/files_external/lib/smb.php
@@ -6,10 +6,10 @@
* See the COPYING-README file.
*/
-require_once 'smb4php/smb.php';
-
namespace OC\Files\Storage;
+require_once 'smb4php/smb.php';
+
class SMB extends \OC\Files\Storage\StreamWrapper{
private $password;
private $user;
@@ -70,6 +70,7 @@ class SMB extends \OC\Files\Storage\StreamWrapper{
/**
* check if a file or folder has been updated since $time
+ * @param string $path
* @param int $time
* @return bool
*/