Fugly fixed include.
This commit is contained in:
parent
963faf6458
commit
ab1b4f1f03
|
@ -10,7 +10,7 @@
|
||||||
OCP\JSON::checkLoggedIn();
|
OCP\JSON::checkLoggedIn();
|
||||||
OCP\JSON::checkAppEnabled('contacts');
|
OCP\JSON::checkAppEnabled('contacts');
|
||||||
|
|
||||||
require_once('../loghandler.php');
|
require_once(__DIR__.'../loghandler.php');
|
||||||
|
|
||||||
$addressbooks = OC_Contacts_Addressbook::all(OCP\USER::getUser());
|
$addressbooks = OC_Contacts_Addressbook::all(OCP\USER::getUser());
|
||||||
if(count($addressbooks) == 0) {
|
if(count($addressbooks) == 0) {
|
||||||
|
|
Loading…
Reference in New Issue