| @@ 1094-1103 (lines=10) @@ | ||
| 1091 |             foreach ($cache_descs as $desc) { | |
| 1092 | // save text - added 2013/03/18 to be enable restoring data on reactivation | |
| 1093 | // of accounts that were disabled before license transition | |
| 1094 |                 if ($desc['desc'] != '') { | |
| 1095 | sql( | |
| 1096 | "INSERT IGNORE INTO `saved_texts` (`object_type`, `object_id`, `subtype`, `text`) | |
| 1097 |                          VALUES ('&1', '&2', '&3', '&4')", | |
| 1098 | OBJECT_CACHEDESC, | |
| 1099 | $desc['id'], | |
| 1100 | 1, | |
| 1101 | $desc['desc'] | |
| 1102 | ); | |
| 1103 | } | |
| 1104 |                 if ($desc['hint'] != '') { | |
| 1105 | sql( | |
| 1106 | "INSERT IGNORE INTO `saved_texts` (`object_type`, `object_id`, `subtype`, `text`) | |
| @@ 1104-1113 (lines=10) @@ | ||
| 1101 | $desc['desc'] | |
| 1102 | ); | |
| 1103 | } | |
| 1104 |                 if ($desc['hint'] != '') { | |
| 1105 | sql( | |
| 1106 | "INSERT IGNORE INTO `saved_texts` (`object_type`, `object_id`, `subtype`, `text`) | |
| 1107 |                          VALUES ('&1', '&2', '&3', '&4')", | |
| 1108 | OBJECT_CACHEDESC, | |
| 1109 | $desc['id'], | |
| 1110 | 2, | |
| 1111 | $desc['hint'] | |
| 1112 | ); | |
| 1113 | } | |
| 1114 | ||
| 1115 |                 if ($desc['desc'] != '') { | |
| 1116 |                     if ($old_disabled) { | |