summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--l10n/sl.js1
-rw-r--r--l10n/sl.json1
-rw-r--r--lib/Service/SocialApiService.php4
3 files changed, 4 insertions, 2 deletions
diff --git a/l10n/sl.js b/l10n/sl.js
index a1914ae7..14a43753 100644
--- a/l10n/sl.js
+++ b/l10n/sl.js
@@ -96,6 +96,7 @@ OC.L10N.register(
"There are no contacts in this group" : "V tej skupini ni stikov",
"Create contacts" : "Ustvari stike",
"Not grouped" : "Brez skupine",
+ "Recently contacted" : "Nedavno v stiku",
"Unable to create the contact." : "Ni mogoče ustvariti stika.",
"Contact not found" : "Stika ni mogoče najti",
"Group not found" : "Skupine ni mogoče najti",
diff --git a/l10n/sl.json b/l10n/sl.json
index 1bb0582b..5a1ba95c 100644
--- a/l10n/sl.json
+++ b/l10n/sl.json
@@ -94,6 +94,7 @@
"There are no contacts in this group" : "V tej skupini ni stikov",
"Create contacts" : "Ustvari stike",
"Not grouped" : "Brez skupine",
+ "Recently contacted" : "Nedavno v stiku",
"Unable to create the contact." : "Ni mogoče ustvariti stika.",
"Contact not found" : "Stika ni mogoče najti",
"Group not found" : "Skupine ni mogoče najti",
diff --git a/lib/Service/SocialApiService.php b/lib/Service/SocialApiService.php
index 8594ba68..03484c99 100644
--- a/lib/Service/SocialApiService.php
+++ b/lib/Service/SocialApiService.php
@@ -209,7 +209,7 @@ class SocialApiService {
}
$addressBook->createOrUpdate($changes, $addressbookId);
- } catch (Exception $e) {
+ } catch (\Exception $e) {
return new JSONResponse([], Http::STATUS_INTERNAL_SERVER_ERROR);
}
return new JSONResponse([], Http::STATUS_OK);
@@ -383,7 +383,7 @@ class SocialApiService {
try {
$r = $this->updateContact($addressBook->getURI(), $contact['UID'], $network);
$response = $this->registerUpdateResult($response, $contact['FN'], $r->getStatus());
- } catch (Exception $e) {
+ } catch (\Exception $e) {
$response = $this->registerUpdateResult($response, $contact['FN'], '-1');
}