I created a simple local/plugin
It does what it is supposed to do
I wanted to define a configuration variable like for e.g
Now when I defined it in /local/pluginname/lib.php this variable was available only in /local/pluginname/install.php but it was not available in /local/pluginname/uninstall.php
I experimented around and found out that only if the global variable is defined in the file
/local/pluginname/version.php it is available both in
/local/pluginname/install.php and /local/pluginname/uninstall.php
Is this correct ? Should all global variables for a particular plugin be defined only in version.php ?