Fixed to not work on a bad key.
This commit is contained in:
parent
e31f10e648
commit
7cedd4af7a
@ -631,9 +631,14 @@ class IDF_Plugin_SyncMonotone
|
||||
*/
|
||||
public function processKeyDelete($key)
|
||||
{
|
||||
try {
|
||||
if ($key->getType() != 'mtn') {
|
||||
return;
|
||||
}
|
||||
} catch (Exception $e) {
|
||||
// bad key type, skip it.
|
||||
return;
|
||||
}
|
||||
|
||||
if (Pluf::f('mtn_db_access', 'local') == 'local') {
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user