Changeset 92631 in spip-zone


Ignore:
Timestamp:
Nov 3, 2015, 4:57:01 PM (4 years ago)
Author:
kent1@…
Message:

Suppression des urls en cas de suppression du shortcut_url

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/shortcut_url/trunk/action/editer_shortcut_url.php

    r92081 r92631  
    2626                sql_delete("spip_shortcut_urls", "id_shortcut_url=".intval($id_shortcut_url));
    2727                sql_delete("spip_auteurs_liens", "id_objet=".intval($id_shortcut_url));
     28                sql_delete("spip_urls", "id_objet=".intval($id_shortcut_url)." AND type=".sql_quote('shortcut_url'));
    2829                $id_shortcut_url = 0;
    2930                include_spip('inc/invalideur');
Note: See TracChangeset for help on using the changeset viewer.