summaryrefslogtreecommitdiff
path: root/plugins/odfviewer
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2013-05-07 10:16:11 (GMT)
committerAleksander Machniak <alec@alec.pl>2013-05-07 10:16:11 (GMT)
commit27e57c73352e1966918cdfe567c32c5a4844be82 (patch)
treeea26ec5a72f4ca39494833105a8bbeb50ce7f4e4 /plugins/odfviewer
parent828b868d973748c2e45f284fb7cf15e33a59b02e (diff)
downloadroundcubemail-plugins-kolab-27e57c73352e1966918cdfe567c32c5a4844be82.tar.gz
Fix undefined or unused variable errors caught in static code analysis
Diffstat (limited to 'plugins/odfviewer')
-rw-r--r--plugins/odfviewer/odfviewer.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/plugins/odfviewer/odfviewer.php b/plugins/odfviewer/odfviewer.php
index 950b2dd..39d88de 100644
--- a/plugins/odfviewer/odfviewer.php
+++ b/plugins/odfviewer/odfviewer.php
@@ -136,8 +136,6 @@ class odfviewer extends rcube_plugin
*/
function gc_cleanup()
{
- $rcmail = rcube::get_instance();
-
$tmp = unslashify($this->tempdir);
$expire = mktime() - 172800; // expire in 48 hours