Page MenuHomePhorge

D5094.1774817573.diff
No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None

D5094.1774817573.diff

diff --git a/src/app/Domain.php b/src/app/Domain.php
--- a/src/app/Domain.php
+++ b/src/app/Domain.php
@@ -324,35 +324,6 @@
return $this->namespace;
}
- /**
- * Unsuspend this domain.
- *
- * The domain is unsuspended through either of the following courses of actions;
- *
- * * The account balance has been topped up, or
- * * a suspected spammer has resolved their issues, or
- * * the command-line is triggered.
- *
- * Therefore, we can also confidently set the domain status to 'active' should the ownership of or management
- * access to have been confirmed before.
- *
- * @return void
- */
- public function unsuspend(): void
- {
- if (!$this->isSuspended()) {
- return;
- }
-
- $this->status ^= Domain::STATUS_SUSPENDED;
-
- if ($this->isConfirmed() && $this->isVerified()) {
- $this->status |= Domain::STATUS_ACTIVE;
- }
-
- $this->save();
- }
-
/**
* List the users of a domain, so long as the domain is not a public registration domain.
* Note: It returns only users with a mailbox.

File Metadata

Mime Type
text/plain
Expires
Sun, Mar 29, 8:52 PM (6 d, 21 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18776166
Default Alt Text
D5094.1774817573.diff (1 KB)

Event Timeline