From: Bharat M. <bh...@us...> - 2003-04-22 23:41:11
|
Update of /cvsroot/gallery/gallery2/modules/core/classes/interfaces In directory sc8-pr-cvs1:/tmp/cvs-serv10816/modules/core/classes/interfaces Modified Files: GalleryToolkitOperationParameterMap.inc Log Message: Refactored the GalleryToolkit API. We no longer require a default value for toolkit operations. Index: GalleryToolkitOperationParameterMap.inc =================================================================== RCS file: /cvsroot/gallery/gallery2/modules/core/classes/interfaces/GalleryToolkitOperationParameterMap.inc,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- GalleryToolkitOperationParameterMap.inc 13 Apr 2003 08:41:34 -0000 1.4 +++ GalleryToolkitOperationParameterMap.inc 22 Apr 2003 23:40:37 -0000 1.5 @@ -71,8 +71,6 @@ $info['members']['description'] = STORAGE_TYPE_STRING; - $info['members']['default'] = STORAGE_TYPE_STRING; - return $info; } @@ -99,10 +97,6 @@ } if (!isset($data['description'])) { - return GalleryStatus::error(ERROR_BAD_PARAMETER, __FILE__, __LINE__); - } - - if (!isset($data['default'])) { return GalleryStatus::error(ERROR_BAD_PARAMETER, __FILE__, __LINE__); } |