summaryrefslogtreecommitdiffstats
path: root/lib/private/util.php
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-07-09 14:29:47 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-07-09 14:29:47 +0200
commitd52e197b0d7f467b553d5773cc9c89b7380c24d2 (patch)
tree0d0a7b0d4fff6bd2525ba11c869b3a26dda34b10 /lib/private/util.php
parent2b86ba43e33b2cd4339722548d22800ea4218a57 (diff)
parent3e97ca3b9637a44ffd366838164461bda65e889f (diff)
downloadnextcloud-server-d52e197b0d7f467b553d5773cc9c89b7380c24d2.tar.gz
nextcloud-server-d52e197b0d7f467b553d5773cc9c89b7380c24d2.zip
Merge pull request #16965 from owncloud/getUserFolder-in-IRootFolder
Add getUserFolder to IRootFolder
Diffstat (limited to 'lib/private/util.php')
-rw-r--r--lib/private/util.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/util.php b/lib/private/util.php
index 51815a0ae3d..39d64952dc6 100644
--- a/lib/private/util.php
+++ b/lib/private/util.php
@@ -267,17 +267,17 @@ class OC_Util {
/**
* copies the skeleton to the users /files
*
- * @param \OC\User\User $user
+ * @param String $userId
* @param \OCP\Files\Folder $userDirectory
*/
- public static function copySkeleton(\OC\User\User $user, \OCP\Files\Folder $userDirectory) {
+ public static function copySkeleton($userId, \OCP\Files\Folder $userDirectory) {
$skeletonDirectory = \OCP\Config::getSystemValue('skeletondirectory', \OC::$SERVERROOT . '/core/skeleton');
if (!empty($skeletonDirectory)) {
\OCP\Util::writeLog(
'files_skeleton',
- 'copying skeleton for '.$user->getUID().' from '.$skeletonDirectory.' to '.$userDirectory->getFullPath('/'),
+ 'copying skeleton for '.$userId.' from '.$skeletonDirectory.' to '.$userDirectory->getFullPath('/'),
\OCP\Util::DEBUG
);
self::copyr($skeletonDirectory, $userDirectory);