]> git.sur5r.net Git - bacula/bacula/blobdiff - gui/baculum/protected/API/Pages/API/BVFSRestore.php
baculum: API endpoints code refactor
[bacula/bacula] / gui / baculum / protected / API / Pages / API / BVFSRestore.php
index f94c1d0b9538deb49add698b7bdb853a415cbb25..7e12d94b9e3dcdf8144ab790b0a9c62c647517c0 100644 (file)
@@ -68,7 +68,7 @@ class BVFSRestore extends BaculumAPIServer {
                        array_push($cmd, 'hardlink="' . $findexes . '"');
                }
 
-               $result = $this->getModule('bconsole')->bconsoleCommand($this->director, $cmd, $this->user);
+               $result = $this->getModule('bconsole')->bconsoleCommand($this->director, $cmd);
                $this->output = $result->output;
                $this->error = $result->exitcode;
        }