Remove trailing closing php tag in classes and excessive lines
This commit is contained in:
parent
1353d5ce65
commit
aef0059d8c
@ -27,5 +27,3 @@ session_write_close();
|
|||||||
|
|
||||||
$file = $_GET['filepath'];
|
$file = $_GET['filepath'];
|
||||||
\OCP\Preview::show($file,120,120);
|
\OCP\Preview::show($file,120,120);
|
||||||
|
|
||||||
|
|
||||||
|
@ -32,7 +32,3 @@ OCP\App::addNavigationEntry(array(
|
|||||||
'icon' => OCP\Util::imagePath('office', 'office.png'),
|
'icon' => OCP\Util::imagePath('office', 'office.png'),
|
||||||
'name' => 'Office')
|
'name' => 'Office')
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
?>
|
|
||||||
|
@ -35,5 +35,3 @@ $list=\OCA\Office\Storage::getDocuments();
|
|||||||
$tmpl = new OCP\Template('office', 'documents', 'user');
|
$tmpl = new OCP\Template('office', 'documents', 'user');
|
||||||
$tmpl->assign('list', $list);
|
$tmpl->assign('list', $list);
|
||||||
$tmpl->printPage();
|
$tmpl->printPage();
|
||||||
|
|
||||||
|
|
||||||
|
@ -30,8 +30,5 @@ class Storage {
|
|||||||
$list=\OCP\Files::searchByMime('application/vnd.oasis.opendocument.text');
|
$list=\OCP\Files::searchByMime('application/vnd.oasis.opendocument.text');
|
||||||
return $list;
|
return $list;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user