1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-18 07:52:21 +01:00

Fix #474 isssue 2

This commit is contained in:
Tobia De Koninck 2014-04-23 08:35:28 +02:00
parent 0d619b835c
commit cc3fc4b9ba

View File

@ -217,7 +217,6 @@ class LocalUsers extends AbstractBackend {
// All done
// now update the index table with all the properties
$this->updateIndex($user, $vcard);
return true;
}
} catch(\Exception $e) {
\OCP\Util::writeLog('contacts', __METHOD__.' exception: '
@ -225,6 +224,7 @@ class LocalUsers extends AbstractBackend {
return false;
}
}
return true;
}
/**
@ -244,8 +244,6 @@ class LocalUsers extends AbstractBackend {
\OCP\Util::writeLog('contacts', __METHOD__. 'DB error: '
. \OC_DB::getErrorMessage($result), \OCP\Util::ERROR);
return false;
} else {
return true;
}
} catch(\Exception $e) {
\OCP\Util::writeLog('contacts', __METHOD__.' exception: '