diff --git a/apps/contacts/lib/vcard.php b/apps/contacts/lib/vcard.php index 00c008657b7f3e250f4c0d6f2b6f0b61247975e8..53600e18b0c4c611c7ff863ec1e9ff5a3b149b31 100755 --- a/apps/contacts/lib/vcard.php +++ b/apps/contacts/lib/vcard.php @@ -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(); diff --git a/apps/files_sharing/ajax/share.php b/apps/files_sharing/ajax/share.php index fe1c9e07984b5086dc920b6711ba10b6bf9fdd45..eaaf2a3d244624389398b92030822dcc40d3effe 100755 --- a/apps/files_sharing/ajax/share.php +++ b/apps/files_sharing/ajax/share.php @@ -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"; } }