From 6dde8f11bdc345ae9ea7e2b2ffdb2124d9afb796 Mon Sep 17 00:00:00 2001 From: Victor Dubiniuk Date: Thu, 10 Apr 2014 20:34:29 +0300 Subject: [PATCH] Fix warning in logs --- lib/filter/office.php | 4 ++-- lib/genesis.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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);