1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-19 08:52:22 +01:00

Add a backslash to fix an error.

Plus a simple whitespace fix.
This commit is contained in:
Bernhard Reiter 2014-10-01 13:58:28 +02:00
parent 0634e2525a
commit 51bc3fbe5f

View File

@ -204,10 +204,10 @@ class Hooks{
}
$offset += $limit;
}
$stmt = OCP\DB::prepare('DELETE FROM `*PREFIX*contacts_cards_properties`
$stmt = \OCP\DB::prepare('DELETE FROM `*PREFIX*contacts_cards_properties`
WHERE NOT EXISTS(SELECT NULL
FROM `*PREFIX*contacts_cards`
WHERE `*PREFIX*contacts_cards`.id = `*PREFIX*contacts_cards_properties`.contactid)');
FROM `*PREFIX*contacts_cards`
WHERE `*PREFIX*contacts_cards`.id = `*PREFIX*contacts_cards_properties`.contactid)');
$result = $stmt->execute(array());
}