summaryrefslogtreecommitdiffstats
path: root/lib/foldermapper.php
diff options
context:
space:
mode:
authorAlessandro Cosentino <cosenal@gmail.com>2012-06-29 19:01:41 -0400
committerAlessandro Cosentino <cosenal@gmail.com>2012-06-29 19:01:41 -0400
commit6f3404ee971a130b90cf1773b9e67f4feef0be74 (patch)
tree50dc6137a02b73327e7ae9a6ae081a99f0295085 /lib/foldermapper.php
parent6d54ff8c008058f6a90924a88b16f44bca0c0b25 (diff)
adds controller to add a folder
Diffstat (limited to 'lib/foldermapper.php')
-rw-r--r--lib/foldermapper.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/foldermapper.php b/lib/foldermapper.php
index d6dcea632..97b146dcd 100644
--- a/lib/foldermapper.php
+++ b/lib/foldermapper.php
@@ -90,7 +90,7 @@ class OC_News_FolderMapper {
$params=array(
htmlspecialchars_decode($name),
$parentid,
- OCP\USER::getUser()
+ $this->userid
);
$query->execute($params);
$folderid = OCP\DB::insertid(self::tableName);