Backups\Controller\Backups::remove PHP Method

remove() public method

public remove ( )
    public function remove()
    {
        if ($file = $this->param("file", false)) {
            if ($file = $this->app->path("#backups:{$file}.zip")) {
                @unlink($file);
                return '{"success":true}';
            }
        }
        return false;
    }