Minor change
[squirrelmail.git] / doc / plugin.txt
index 19e0cd38b9110f25fba0f12900f652bc66d51a6e..8618c79b4fe39a7d8784580eff09f06c93e60d8f 100644 (file)
@@ -1207,8 +1207,12 @@ strongly encouraged to make use of.  Using them also makes your job easier.
 
   4.  To remove a variable from the session:
 
+         global $favorite_color;
          sqsession_unregister('favorite_color');
 
+      Strictly speaking, globalizing the variable shouldn't be necessary,
+      but certain versions of PHP seem to behave more predictably if you do.
+
 
 Form Variables
 --------------