add missing new files
This commit is contained in:
Родитель
310e179c01
Коммит
93877f2a30
|
@ -0,0 +1,10 @@
|
|||
<?php
|
||||
|
||||
// Init owncloud
|
||||
|
||||
\OCP\User::checkLoggedIn();
|
||||
\OCP\JSON::checkAppEnabled('office');
|
||||
|
||||
$documents=\OCA\Office\Storage::getDocuments();
|
||||
|
||||
OCP\JSON::success(array('documents' => $documents));
|
|
@ -0,0 +1,3 @@
|
|||
<?php
|
||||
|
||||
OCP\JSON::success(array('path' => OC_Helper::mimetypeIcon($_GET['mime'])));
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace OCA\Office;
|
||||
// Init owncloud
|
||||
|
||||
\OCP\User::checkLoggedIn();
|
||||
\OCP\JSON::checkAppEnabled('office');
|
||||
|
||||
$sessions = Session::getAll();
|
||||
if (!is_array($sessions)){
|
||||
$sessions = array();
|
||||
}
|
||||
\OCP\JSON::success(array('sessions' => $sessions));
|
Загрузка…
Ссылка в новой задаче