Commit Graph

12 Commits

Author SHA1 Message Date
paul 623be37d8a Fix for the bug where you could not upload files (the first part of bug #2114). Converted StoredFile into a real class that mapped the database table properly. Renamed some functions to be consistent with each other and with coding standards. 2007-01-11 19:24:45 +00:00
paul b23c11c0b8 Fixed parameters passed to the various recallByGunid() functions- they no longer require the GreenBox parameter. Some functions had been switched, and some had not, which lead to some crashes. 2007-01-03 22:46:26 +00:00
paul 425212bfb8 Possible fix for #2100 - scheduler user is not created. There is now a more verbose output when this step is taken, and also there were previous steps, that if they failed, would prevent this step from happening; so this has been fixed as well. Converted more functions to static functions because thats what they were in the first place...they were just pretending to be member functions. 2006-12-20 02:46:29 +00:00
paul 4733682a62 Refactored Alib to reveal its true nature: a bunch of static functions inside of classes. This makes it much easier to understand what is going on, and removes 4 layers of class heirarchies (now only 4 left). There are now two important global variables: CC_DBC, the database connection, and CC_CONFIG, the config variables. These used to be passed around to all classes, but since they are always the same they should be global. Refactored the StorageServer install scripts to live outside of the classes. They now live in the storageServer install scripts. A lot of functions in the StorageServer have become static as well, but there are definitely more that I didnt get to. Lots of code cleanup as well. This is a big update. 2006-12-16 06:36:22 +00:00
paul 3e5f74e29e A more readable secondsToPlaylistTime() function 2006-12-08 04:30:22 +00:00
tomash 6c751954ee minor fix 2006-11-30 02:21:58 +00:00
paul 9edd10a58c Fixed bug #2038 - fatal error on edit playlist 2006-11-27 15:15:09 +00:00
tomash 9ab775b5b7 several public keyword added 2006-11-23 14:42:33 +00:00
paul ec562b0165 Added public/private/static modifiers to functions. Changing various function names to be more obvious and consistent. Get rid of unneeded data copying ( = = someFunction()). 2006-11-23 07:01:08 +00:00
paul 2824643ca3 Fixed function call names for renamed functions. 2006-11-21 15:51:34 +00:00
paul bb00be70bb Started to convert code to PHP5 using public/private/protected/static and __construct() method, got rid of =& when constructing objects. Improved documentation in many places. Commented out functions that are no longer in use. Got rid of double-copy operations when checking for errors (e.g. $foo = $r = myMethod()). Tweaked code here and there to fit coding conventions. 2006-11-14 19:09:20 +00:00
paul fe31d2dfab Renaming top-level livesupport directory (/trunk/livesupport) to campcaster (trunk/campcaster). 2006-10-19 14:55:07 +00:00