diff --git a/lib/filter/office.php b/lib/filter/office.php index f04456af..6b375d7f 100644 --- a/lib/filter/office.php +++ b/lib/filter/office.php @@ -15,8 +15,8 @@ namespace OCA\Documents; class Filter_Office { const NATIVE_MIMETYPE = 'application/vnd.oasis.opendocument.text'; - private static $readSpec; - private static $writeSpec; + private $readSpec; + private $writeSpec; /* sample mimespec array ( diff --git a/lib/genesis.php b/lib/genesis.php index 02c047b5..7731387e 100644 --- a/lib/genesis.php +++ b/lib/genesis.php @@ -39,7 +39,7 @@ class Genesis { * */ public function __construct(\OCA\Documents\File $file){ $owner = $file->getOwner(); - list($ownerView, $path) = $file->getOwnerViewAndPath(); + list($view, $path) = $file->getOwnerViewAndPath(); $this->view = new View('/' . $owner);