OC_Util::setupFS($user) will create a data dir for the given string - no...
OC_Util::setupFS($user) will create a data dir for the given string - no matter if the user really exists - OCP\JSON::checkUserExists($owner); introduces a ready to use check which will bail out with an JSON error
Please register or sign in to comment