mirror of
https://github.com/nextcloud/server.git
synced 2025-02-07 01:50:38 +00:00
![Côme Chilliet](/assets/img/avatar_default.png)
There is already a webhooks application in the appstore Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
27 lines
628 B
PHP
27 lines
628 B
PHP
<?php
|
|
/**
|
|
* SPDX-FileCopyrightText: 2016-2018 Nextcloud GmbH and Nextcloud contributors
|
|
* SPDX-FileCopyrightText: 2012-2016 ownCloud, Inc.
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
|
*/
|
|
|
|
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');
|
|
enableApp('webhook_listeners');
|