| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
//CRM-13901 don't show dashboard to contacts with limited view writes & it does not relect
//what they have access to
//@todo implement acls on dashboard querys (preferably via api to enhance that at the same time)
- if (!CRM_Core_Permission::check(array('view all contacts', 'edit all contacts'))) {
+ if (!CRM_Core_Permission::check('view all contacts') && !CRM_Core_Permission::check('edit all contacts')) {
$this->showMembershipSummary = FALSE;
$this->assign('membershipSummary', FALSE);
return;
$status = CRM_Member_BAO_MembershipStatus::getMembershipStatusCurrent();
$status = implode(',', $status);
- /* Disabled for lack of appropriate search
+ /*@codingStandardsIgnoreStart
+ Disabled for lack of appropriate search
The Membership search isn't able to properly filter by join or renewal events.
Until that works properly, the subtotals shouldn't get links.
}
}
}
- */
+ @codingStandardsIgnoreEnd */
// Temporary replacement for current totals column
* the main function that is called when the page loads,
* it decides the which action has to be taken for the page.
*
- * return null
+ * @return null
*/
public function run() {
$this->preProcess();
return parent::run();
}
+
}