Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4b54c214 authored by Akhil's avatar Akhil 🙂 Committed by Arnau Vàzquez
Browse files

Quota fix

parent 3b7b4830
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ class BaseEcloudAccountCreator implements AccountCreator
        } catch (Error $e) {
            error_log('Error during alias creation for user: ' . $username . ' with email: ' . $email . ' : ' . $e->getMessage());
        }
        $answer = $this->setAccountDataAtNextcloud($username, $email, $quota . ' MB', $authmail, $hmeAlias);
        $answer = $this->setAccountDataAtNextcloud($username, $email, $quota, $authmail, $hmeAlias);
        return $answer;
    }

+1 −1
Original line number Diff line number Diff line
@@ -39,7 +39,7 @@ class ECloudAccountCreator extends BaseEcloudAccountCreator
            $answer->type = "error_creating_account";
            return $answer;
        } else {
            $answer = $this->postCreationActions($resultmail, $username, $authmail, $quota);
            $answer = $this->postCreationActions($resultmail, $username, $authmail, strval($quota) . ' MB');
            return $answer;
        }
    }
+1 −1
Original line number Diff line number Diff line
@@ -58,7 +58,7 @@ class LDAPAccountCreator extends BaseEcloudAccountCreator
            $answer->type = 'error_creating_account';
            return $answer;
        }
        $answer = $this->postCreationActions($email, $username, $authmail, $quota, 'v2');
        $answer = $this->postCreationActions($email, $username, $authmail, strval($quota), 'v2');
        return $answer;
    }