]> source.dussan.org Git - nextcloud-server.git/commitdiff
User::delete should return bool
authorVictor Dubiniuk <victor.dubiniuk@gmail.com>
Mon, 7 Oct 2013 19:24:25 +0000 (22:24 +0300)
committerVictor Dubiniuk <victor.dubiniuk@gmail.com>
Mon, 7 Oct 2013 19:30:15 +0000 (22:30 +0300)
lib/private/user.php

index 04cd06b08bd18f17b6960b209804daa9c4338351..b68786c773c459fc8800d0bb521357ce0fac9e2c 100644 (file)
@@ -198,6 +198,10 @@ class OC_User {
 
                        // Delete user files in /data/
                        OC_Helper::rmdirr(OC_Config::getValue('datadirectory', OC::$SERVERROOT . '/data') . '/' . $uid . '/');
+                       
+                       return true;
+               } else {
+                       return false;
                }
        }