2012-10-27 13:22:00 +04:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Copyright (c) 2012 Thomas Müller <thomas.mueller@tmit.eu>
|
|
|
|
* This file is licensed under the Affero General Public License version 3 or
|
|
|
|
* later.
|
|
|
|
* See the COPYING-README file.
|
|
|
|
*/
|
|
|
|
|
|
|
|
require_once __DIR__.'/../lib/base.php';
|
|
|
|
|
2014-01-15 20:12:42 +04:00
|
|
|
function enableApp($app) {
|
|
|
|
try {
|
2016-10-27 21:13:15 +03:00
|
|
|
(new \OC_App())->enable($app);
|
2014-01-15 20:12:42 +04:00
|
|
|
} catch (Exception $e) {
|
|
|
|
echo $e;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
enableApp('files_sharing');
|
2014-06-17 15:51:49 +04:00
|
|
|
enableApp('files_trashbin');
|
2015-03-26 13:46:32 +03:00
|
|
|
enableApp('encryption');
|
2014-01-15 20:12:42 +04:00
|
|
|
enableApp('user_ldap');
|
2014-01-21 15:10:24 +04:00
|
|
|
enableApp('files_versions');
|
2014-12-22 16:54:50 +03:00
|
|
|
enableApp('provisioning_api');
|
2015-10-29 19:27:14 +03:00
|
|
|
enableApp('federation');
|
2016-02-04 11:59:52 +03:00
|
|
|
enableApp('federatedfilesharing');
|