Update plugin.php
This commit is contained in:
parent
d1a2e05dbf
commit
f19e1e791e
@ -59,7 +59,7 @@ class pluginBackup extends Plugin {
|
||||
public function adminSidebar()
|
||||
{
|
||||
$backups = $this->backupList();
|
||||
return '<a class="nav-link" href="'.HTML_PATH_ADMIN_ROOT.'configure-plugin/'.$this->className().'">Backup <span class="badge badge-primary badge-pill">'.count($backups).'</span></a>';
|
||||
return '<a class="nav-link" href="'.HTML_PATH_ADMIN_ROOT.'configure-plugin/'.$this->className().'">Backups <span class="badge badge-primary badge-pill">'.count($backups).'</span></a>';
|
||||
}
|
||||
|
||||
public function form()
|
||||
@ -162,4 +162,4 @@ class pluginBackup extends Plugin {
|
||||
$tmp = $this->workspace().$filename;
|
||||
return Filesystem::deleteRecursive($tmp);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user