mirror of
https://github.com/owncloudarchive/contacts.git
synced 2024-12-01 13:24:10 +01:00
Fix #474 issue 2
This commit is contained in:
parent
5a98d09a2a
commit
f0784e906d
@ -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: '
|
||||
@ -253,6 +251,7 @@ class LocalUsers extends AbstractBackend {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user