| @@ 1045-1054 (lines=10) @@ | ||
| 1042 | foreach ($cache_descs as $desc) { |
|
| 1043 | // save text - added 2013/03/18 to be enable restoring data on reactivation |
|
| 1044 | // of accounts that were disabled before license transition |
|
| 1045 | if ($desc['desc'] != "") { |
|
| 1046 | sql( |
|
| 1047 | "INSERT IGNORE INTO `saved_texts` (`object_type`, `object_id`, `subtype`, `text`) |
|
| 1048 | VALUES ('&1', '&2', '&3', '&4')", |
|
| 1049 | OBJECT_CACHEDESC, |
|
| 1050 | $desc['id'], |
|
| 1051 | 1, |
|
| 1052 | $desc['desc'] |
|
| 1053 | ); |
|
| 1054 | } |
|
| 1055 | if ($desc['hint'] != "") { |
|
| 1056 | sql( |
|
| 1057 | "INSERT IGNORE INTO `saved_texts` (`object_type`, `object_id`, `subtype`, `text`) |
|
| @@ 1055-1064 (lines=10) @@ | ||
| 1052 | $desc['desc'] |
|
| 1053 | ); |
|
| 1054 | } |
|
| 1055 | if ($desc['hint'] != "") { |
|
| 1056 | sql( |
|
| 1057 | "INSERT IGNORE INTO `saved_texts` (`object_type`, `object_id`, `subtype`, `text`) |
|
| 1058 | VALUES ('&1', '&2', '&3', '&4')", |
|
| 1059 | OBJECT_CACHEDESC, |
|
| 1060 | $desc['id'], |
|
| 1061 | 2, |
|
| 1062 | $desc['hint'] |
|
| 1063 | ); |
|
| 1064 | } |
|
| 1065 | ||
| 1066 | if ($desc['desc'] != "") { |
|
| 1067 | if ($old_disabled) { |
|