remove not needed includes
This commit is contained in:
parent
b14f2d0388
commit
c79a529edd
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
require_once(OC::$APPSROOT . '/apps/files_sharing/lib_share.php');
|
|
||||||
|
|
||||||
OCP\JSON::checkAppEnabled('files_sharing');
|
OCP\JSON::checkAppEnabled('files_sharing');
|
||||||
OCP\JSON::checkLoggedIn();
|
OCP\JSON::checkLoggedIn();
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
require_once(OC::$APPSROOT . '/apps/files_sharing/lib_share.php');
|
|
||||||
|
|
||||||
OCP\JSON::checkAppEnabled('files_sharing');
|
OCP\JSON::checkAppEnabled('files_sharing');
|
||||||
OCP\JSON::checkLoggedIn();
|
OCP\JSON::checkLoggedIn();
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
require_once(OC::$APPSROOT . '/apps/files_sharing/lib_share.php');
|
|
||||||
|
|
||||||
OCP\JSON::checkAppEnabled('files_sharing');
|
OCP\JSON::checkAppEnabled('files_sharing');
|
||||||
OCP\JSON::checkLoggedIn();
|
OCP\JSON::checkLoggedIn();
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
require_once(OC::$APPSROOT . '/apps/files_sharing/lib_share.php');
|
|
||||||
|
|
||||||
OCP\JSON::checkAppEnabled('files_sharing');
|
OCP\JSON::checkAppEnabled('files_sharing');
|
||||||
OCP\JSON::checkLoggedIn();
|
OCP\JSON::checkLoggedIn();
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
<?php
|
<?php
|
||||||
require_once(OC::$APPSROOT . '/apps/files_sharing/lib_share.php');
|
|
||||||
|
|
||||||
OCP\JSON::checkAppEnabled('files_sharing');
|
OCP\JSON::checkAppEnabled('files_sharing');
|
||||||
OCP\JSON::checkLoggedIn();
|
OCP\JSON::checkLoggedIn();
|
||||||
|
|
|
@ -24,8 +24,6 @@
|
||||||
header('Content-type: text/html; charset=UTF-8') ;
|
header('Content-type: text/html; charset=UTF-8') ;
|
||||||
|
|
||||||
OCP\JSON::checkAppEnabled('media');
|
OCP\JSON::checkAppEnabled('media');
|
||||||
require_once(OC::$APPSROOT . '/apps/media/lib_collection.php');
|
|
||||||
require_once(OC::$APPSROOT . '/apps/media/lib_scanner.php');
|
|
||||||
|
|
||||||
error_reporting(E_ALL); //no script error reporting because of getID3
|
error_reporting(E_ALL); //no script error reporting because of getID3
|
||||||
|
|
||||||
|
|
|
@ -28,9 +28,6 @@
|
||||||
OCP\User::checkLoggedIn();
|
OCP\User::checkLoggedIn();
|
||||||
OCP\App::checkAppEnabled('media');
|
OCP\App::checkAppEnabled('media');
|
||||||
|
|
||||||
require_once(OC::$APPSROOT . '/apps/media/lib_collection.php');
|
|
||||||
require_once(OC::$APPSROOT . '/apps/media/lib_scanner.php');
|
|
||||||
|
|
||||||
OCP\Util::addscript('media','player');
|
OCP\Util::addscript('media','player');
|
||||||
OCP\Util::addscript('media','music');
|
OCP\Util::addscript('media','music');
|
||||||
OCP\Util::addscript('media','playlist');
|
OCP\Util::addscript('media','playlist');
|
||||||
|
|
|
@ -16,9 +16,6 @@ $state = OCP\Config::getSystemValue('ldapIgnoreNamingRules', 'doCheck');
|
||||||
if($state == 'doCheck'){
|
if($state == 'doCheck'){
|
||||||
$sqlCleanMap = 'DELETE FROM *PREFIX*ldap_user_mapping';
|
$sqlCleanMap = 'DELETE FROM *PREFIX*ldap_user_mapping';
|
||||||
|
|
||||||
require_once(OC::$APPSROOT.'/apps/user_ldap/lib_ldap.php');
|
|
||||||
require_once(OC::$APPSROOT.'/apps/user_ldap/user_ldap.php');
|
|
||||||
|
|
||||||
OCP\Config::setSystemValue('ldapIgnoreNamingRules', true);
|
OCP\Config::setSystemValue('ldapIgnoreNamingRules', true);
|
||||||
$LDAP_USER = new OC_USER_LDAP();
|
$LDAP_USER = new OC_USER_LDAP();
|
||||||
$users_old = $LDAP_USER->getUsers();
|
$users_old = $LDAP_USER->getUsers();
|
||||||
|
|
Loading…
Reference in New Issue