one more identity action to process
authortokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 11 Sep 2005 06:18:43 +0000 (06:18 +0000)
committertokul <tokul@7612ce4b-ef26-0410-bec9-ea0150e637f0>
Sun, 11 Sep 2005 06:18:43 +0000 (06:18 +0000)
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10089 7612ce4b-ef26-0410-bec9-ea0150e637f0

functions/identity.php

index ed3d8973285d540b7855daa3c287e4068d028c6f..17215555da88ccf1dfafa2d6fb5bbc5a98a0f0f2 100644 (file)
@@ -174,6 +174,9 @@ function sqfixidentities( $identities, $id, $action ) {
             case 'delete':
 
                 if ($key == $id) {
             case 'delete':
 
                 if ($key == $id) {
+                    // inform plugins about deleted id
+                    do_hook('options_identities_process', $action, $id);
+
                     continue 2;
                 } else {
                     $fixed[$i] = $ident;
                     continue 2;
                 } else {
                     $fixed[$i] = $ident;