| @@ 802-807 (lines=6) @@ | ||
| 799 | $user_id_manager |
|
| 800 | ); |
|
| 801 | $cacheAvailable = api_get_configuration_value('apc'); |
|
| 802 | if ($cacheAvailable === true) { |
|
| 803 | $apcVar = api_get_configuration_value('apc_prefix').'userinfo_'.$user_id; |
|
| 804 | if (apcu_exists($apcVar)) { |
|
| 805 | apcu_delete($apcVar); |
|
| 806 | } |
|
| 807 | } |
|
| 808 | ||
| 809 | return true; |
|
| 810 | } |
|
| @@ 1129-1134 (lines=6) @@ | ||
| 1126 | } |
|
| 1127 | ||
| 1128 | $cacheAvailable = api_get_configuration_value('apc'); |
|
| 1129 | if ($cacheAvailable === true) { |
|
| 1130 | $apcVar = api_get_configuration_value('apc_prefix').'userinfo_'.$user_id; |
|
| 1131 | if (apcu_exists($apcVar)) { |
|
| 1132 | apcu_delete($apcVar); |
|
| 1133 | } |
|
| 1134 | } |
|
| 1135 | ||
| 1136 | return $user->getId(); |
|
| 1137 | } |
|