]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/baculum/protected/API/Pages/API/BVFSClearCache.php
baculum: API endpoints code refactor
[bacula/bacula] / gui / baculum / protected / API / Pages / API / BVFSClearCache.php
index 4f8da7f6096df1aa603cfaf9c4ae7f9ba1971d6d..830935b5feca16e511f6021c7a5426652c506f13 100644 (file)
@@ -22,8 +22,8 @@
 
 class BVFSClearCache extends BaculumAPIServer {
 
-       public function set($ids, $params) {
-               $result = $this->getModule('bconsole')->bconsoleCommand($this->director, array('.bvfs_clear_cache', 'yes'), $this->user);
+       public function set($id, $params) {
+               $result = $this->getModule('bconsole')->bconsoleCommand($this->director, array('.bvfs_clear_cache', 'yes'));
                $this->output = $result->output;
                $this->error = $result->exitcode;
        }