fixing namespace
This commit is contained in:
parent
2fe646dcec
commit
8ed8d9cd91
2 changed files with 4 additions and 4 deletions
|
@ -65,8 +65,8 @@ class OC_Contacts_VCard{
|
|||
$stmt = OC_DB::prepare( 'SELECT * FROM *PREFIX*contacts_cards WHERE addressbookid = ? ORDER BY fullname' );
|
||||
$result = $stmt->execute(array($id));
|
||||
} catch(Exception $e) {
|
||||
OC\Util::writeLog('contacts','OC_Contacts_VCard:all:, exception: '.$e->getMessage(),OCP\Util::DEBUG);
|
||||
OC\Util::writeLog('contacts','OC_Contacts_VCard:all, ids: '. $id,OCP\Util::DEBUG);
|
||||
OCP\Util::writeLog('contacts','OC_Contacts_VCard:all:, exception: '.$e->getMessage(),OCP\Util::DEBUG);
|
||||
OCP\Util::writeLog('contacts','OC_Contacts_VCard:all, ids: '. $id,OCP\Util::DEBUG);
|
||||
}
|
||||
}
|
||||
$cards = array();
|
||||
|
@ -231,7 +231,7 @@ class OC_Contacts_VCard{
|
|||
}
|
||||
$n = implode(';', $slice).';;;';
|
||||
$vcard->setString('N', $n);
|
||||
OC\Util::writeLog('contacts','OC_Contacts_VCard::updateValuesFromAdd. Added missing \'N\' field: '.$n,OCP\Util::DEBUG);
|
||||
OCP\Util::writeLog('contacts','OC_Contacts_VCard::updateValuesFromAdd. Added missing \'N\' field: '.$n,OCP\Util::DEBUG);
|
||||
}
|
||||
if(!$uid) {
|
||||
$vcard->setUID();
|
||||
|
|
|
@ -24,7 +24,7 @@ foreach ($sources as $source) {
|
|||
echo $shared->getToken();
|
||||
}
|
||||
} catch (Exception $exception) {
|
||||
OC\Util::writeLog('files_sharing',"Unexpected Error : ".$exception->getMessage(),OCP\Util::ERROR);
|
||||
OCP\Util::writeLog('files_sharing',"Unexpected Error : ".$exception->getMessage(),OCP\Util::ERROR);
|
||||
echo "false";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue