Facebook to email

Facebook to email Commit Details

Date:2014-11-11 10:39:59 (5 years 5 days ago)
Author:Grégory Soutadé
Branch:master
Commit:649462714b23c773fcbe13773848ce9328bf77c8
Parents: 3c2c713880c6e9c12d17a78bde1f2964d3a44016
Message:Forget to remove dependency in module_user_per_fb_id when a custom object is removed

Changes:
Mdatabase.php (1 diff)

File differences

database.php
273273
274274
275275
276
277276
278
277
279278
280279
281280
function remove_custom($user_id, $fb_object_id)
{
$this->db->query("DELETE FROM fb_last_fetch WHERE user_id=" . $user_id . " AND fb_object_id=" . $fb_object_id);
$this->db->query("DELETE FROM module_user_per_fb_id_pref WHERE user_id=" . $user_id . " AND fb_object_id=" . $fb_object_id);
$this->db->query("DELETE FROM module_user_per_fb_id WHERE user_id=" . $user_id . " AND fb_object_id=" . $fb_object_id);
$this->db->query("DELETE FROM custom_fb_id WHERE user_id=" . $user_id . " AND fb_object_id=" . $fb_object_id);
return true;

Archive Download the corresponding diff file

Branches