2013-08-07 18:02:20 +03:00
|
|
|
<?php
|
2013-08-08 00:22:21 +03:00
|
|
|
/**
|
|
|
|
* ownCloud - Office App
|
|
|
|
*
|
|
|
|
* @author Victor Dubiniuk
|
|
|
|
* @copyright 2013 Victor Dubiniuk victor.dubiniuk@gmail.com
|
|
|
|
*
|
|
|
|
* This file is licensed under the Affero General Public License version 3 or
|
|
|
|
* later.
|
|
|
|
*/
|
2013-08-07 18:02:20 +03:00
|
|
|
|
|
|
|
namespace OCA\Office;
|
|
|
|
|
2013-08-07 23:56:46 +03:00
|
|
|
\OCP\JSON::checkLoggedIn();
|
2013-08-07 18:02:20 +03:00
|
|
|
|
|
|
|
\OCP\JSON::success(array(
|
|
|
|
'sessions' => Session::getAllSessions()
|
|
|
|
));
|