Update plugin.php

This commit is contained in:
Edi 2018-08-24 00:17:31 +02:00 committed by GitHub
parent d1a2e05dbf
commit f19e1e791e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}
}
}