From: <ad...@tu...> - 2003-03-19 20:17:55
|
> I see some stuff in the page master module that has useless stuff > like.... > > if(false){ > ...code... > } Hey Richard, I looked through the code in all the class files and only found 2 if statements that were questionable. The code they wrapped simply set a variable to NULL but it looked like that would never happen anyway. I could not find anything aiken to: if(false) -or- if(0) Can you give me some filenames and line numbers where you think this is occuring. Please check the cvs version of the files. Also look at the places where I commented out 2 if statements and see if those were the culprits (Page.php line 251 and Section.php line 209). If there is more out there, let me know. Adam -- Adam Morton Developer - Electronic Student Services http://phpwebsite.appstate.edu Founder - Appalachian Linux Users Group http://alug.appstate.edu |