command fixes
This commit is contained in:
parent
b56a95fecc
commit
ff1ad6cd56
8 changed files with 7 additions and 8 deletions
|
@ -24,7 +24,7 @@ class DatabaseInstallCommand extends Command
|
||||||
*/
|
*/
|
||||||
public function brief(): string
|
public function brief(): string
|
||||||
{
|
{
|
||||||
return 'Create the migration repository';
|
return 'Create the migration repository.';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -29,7 +29,7 @@ class DatabaseMigrateCommand extends Command
|
||||||
*/
|
*/
|
||||||
public function brief(): string
|
public function brief(): string
|
||||||
{
|
{
|
||||||
return 'Run the database migrations';
|
return 'Run the database migrations.';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -24,7 +24,7 @@ class DatabaseResetCommand extends Command
|
||||||
*/
|
*/
|
||||||
public function brief(): string
|
public function brief(): string
|
||||||
{
|
{
|
||||||
return 'Rollback all database migrations';
|
return 'Rollback all database migrations.';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -24,7 +24,7 @@ class DatabaseRollbackCommand extends Command
|
||||||
*/
|
*/
|
||||||
public function brief(): string
|
public function brief(): string
|
||||||
{
|
{
|
||||||
return 'Rollback the last database migration';
|
return 'Rollback the last database migration.';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -30,7 +30,7 @@ class DatabaseStatusCommand extends Command
|
||||||
*/
|
*/
|
||||||
public function brief(): string
|
public function brief(): string
|
||||||
{
|
{
|
||||||
return 'Show the status of each migration';
|
return 'Show the status of each migration.';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -15,7 +15,7 @@ use Sakura\Forum\Post;
|
||||||
* @package Sakura
|
* @package Sakura
|
||||||
* @author Julian van de Groep <me@flash.moe>
|
* @author Julian van de Groep <me@flash.moe>
|
||||||
*/
|
*/
|
||||||
class PurgeInactiveUsers extends Command
|
class PurgeInactiveUsersCommand extends Command
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* A quick description of this command.
|
* A quick description of this command.
|
|
@ -23,7 +23,7 @@ class RebuildForumCacheCommand extends Command
|
||||||
*/
|
*/
|
||||||
public function brief(): string
|
public function brief(): string
|
||||||
{
|
{
|
||||||
return 'Rebuild the forum bbcode cache';
|
return 'Rebuild the forum bbcode cache.';
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -32,7 +32,6 @@ class SessionPurgeCommand extends Command
|
||||||
{
|
{
|
||||||
DB::table('sessions')
|
DB::table('sessions')
|
||||||
->where('session_expire', '<', time())
|
->where('session_expire', '<', time())
|
||||||
->where('session_remember', '!=', 1)
|
|
||||||
->delete();
|
->delete();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue