]> source.dussan.org Git - nextcloud-server.git/commitdiff
fixing namespace
authorThomas Müller <thomas.mueller@tmit.eu>
Tue, 1 May 2012 22:55:03 +0000 (00:55 +0200)
committerThomas Müller <thomas.mueller@tmit.eu>
Tue, 1 May 2012 22:55:26 +0000 (00:55 +0200)
apps/contacts/lib/vcard.php
apps/files_sharing/ajax/share.php

index 00c008657b7f3e250f4c0d6f2b6f0b61247975e8..53600e18b0c4c611c7ff863ec1e9ff5a3b149b31 100755 (executable)
@@ -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();
index fe1c9e07984b5086dc920b6711ba10b6bf9fdd45..eaaf2a3d244624389398b92030822dcc40d3effe 100755 (executable)
@@ -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";
        }
 }