[AppDB] - clean up application and version classes

Chris Morgan cmorgan at alum.wpi.edu
Thu Jun 29 00:06:51 CDT 2006


Move trim_description() into util.php and rename it to util_trim_description() 
to fit with the module prefix naming scheme that makes it easy to locate 
things.

Move global functions from application.php and version.php into the classes. 
Cleanup a bunch of duplicate code that was looking up the app name and 
version name and concatenating them by using a temporary variable instead.

Chris

-------------- next part --------------
A non-text attachment was scrubbed...
Name: application_version_cleanup.patch
Type: text/x-diff
Size: 36483 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20060629/246a6570/application_version_cleanup-0001.patch


More information about the wine-patches mailing list