Changeset 13589 for trunk/xmlrpc/BxDolXMLRPCMedia.php
- Timestamp:
- 01/18/10 17:46:44 (2 years ago)
- File:
-
- 1 edited
-
trunk/xmlrpc/BxDolXMLRPCMedia.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/xmlrpc/BxDolXMLRPCMedia.php
r13578 r13589 156 156 } 157 157 158 function _isMembershipEnabledFor ($iProfileId, $sMembershipActionConstant ) {158 function _isMembershipEnabledFor ($iProfileId, $sMembershipActionConstant, $isPerformAction = false) { 159 159 defineMembershipActions (array('photos add', 'photos view', 'sounds view', 'videos view')); 160 160 if (!defined($sMembershipActionConstant)) 161 161 return false; 162 $aCheck = checkAction($iProfileId ? $iProfileId : $_COOKIE['memberID'], constant($sMembershipActionConstant) );162 $aCheck = checkAction($iProfileId ? $iProfileId : $_COOKIE['memberID'], constant($sMembershipActionConstant), $isPerformAction); 163 163 return $aCheck[CHECK_ACTION_RESULT] == CHECK_ACTION_RESULT_ALLOWED; 164 164 }
Note: See TracChangeset
for help on using the changeset viewer.