Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F120825819
DomainUnsuspend.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
743 B
Referenced Files
None
Subscribers
None
DomainUnsuspend.php
View Options
<?php
namespace
App\Console\Commands
;
use
App\Console\Command
;
use
App\Domain
;
class
DomainUnsuspend
extends
Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected
$signature
=
'domain:unsuspend {domain}'
;
/**
* The console command description.
*
* @var string
*/
protected
$description
=
'Remove a domain suspension'
;
/**
* Execute the console command.
*
* @return mixed
*/
public
function
handle
()
{
$domain
=
$this
->
getDomain
(
$this
->
argument
(
'domain'
));
if
(!
$domain
)
{
return
1
;
}
$this
->
info
(
"Found domain {$domain->id}"
);
$domain
->
unsuspend
();
}
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Apr 24, 10:44 AM (3 d, 20 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18798540
Default Alt Text
DomainUnsuspend.php (743 B)
Attached To
Mode
rK kolab
Attached
Detach File
Event Timeline