2012-10-27 05: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 11:12:42 -05:00
|
|
|
function enableApp($app) {
|
|
|
|
|
try {
|
2016-10-27 14:13:15 -04:00
|
|
|
(new \OC_App())->enable($app);
|
2014-01-15 11:12:42 -05:00
|
|
|
} catch (Exception $e) {
|
|
|
|
|
echo $e;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
enableApp('files_sharing');
|
2014-06-17 07:51:49 -04:00
|
|
|
enableApp('files_trashbin');
|
2015-03-26 06:46:32 -04:00
|
|
|
enableApp('encryption');
|
2014-01-15 11:12:42 -05:00
|
|
|
enableApp('user_ldap');
|
2014-01-21 06:10:24 -05:00
|
|
|
enableApp('files_versions');
|
2014-12-22 08:54:50 -05:00
|
|
|
enableApp('provisioning_api');
|
2015-10-29 12:27:14 -04:00
|
|
|
enableApp('federation');
|
2016-02-04 03:59:52 -05:00
|
|
|
enableApp('federatedfilesharing');
|
2018-01-25 07:44:47 -05:00
|
|
|
enableApp('admin_audit');
|