aboutsummaryrefslogtreecommitdiffstats
path: root/tests/enable_all.php
blob: c494f3e0d553fdb50efc2891a3e8b2cfd47d1e7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<?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';

function enableApp($app) {
	try {
		(new \OC_App())->enable($app);
	} catch (Exception $e) {
		echo $e;
	}
}

enableApp('files_sharing');
enableApp('files_trashbin');
enableApp('encryption');
enableApp('user_ldap');
enableApp('files_versions');
enableApp('provisioning_api');
enableApp('federation');
enableApp('federatedfilesharing');
enableApp('admin_audit');