Merge pull request #3649 from colemanw/totten-colemanw-validate
[civicrm-core.git] / CRM / Admin / Page / Extensions.php
index 134f82aecf662e6efb545d86e6a819dfb0d4ca7a..e41486d0ded9e1d65d298742df26c3ed1de5cdba 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.4                                                |
+ | CiviCRM version 4.5                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2013                                |
+ | Copyright CiviCRM LLC (c) 2004-2014                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -29,7 +29,7 @@
  * This is a part of CiviCRM extension management functionality.
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2013
+ * @copyright CiviCRM LLC (c) 2004-2014
  * $Id$
  *
  */
@@ -97,7 +97,6 @@ class CRM_Admin_Page_Extensions extends CRM_Core_Page_Basic {
           'name' => ts('Disable'),
           'url' => 'civicrm/admin/extensions',
           'qs' => 'action=disable&id=%%id%%&key=%%key%%',
-          'ref' => 'disable-action',
           'title' => ts('Disable'),
         ),
         CRM_Core_Action::DELETE => array(
@@ -260,6 +259,8 @@ class CRM_Admin_Page_Extensions extends CRM_Core_Page_Basic {
   /**
    * Get user context.
    *
+   * @param null $mode
+   *
    * @return string user context.
    */
   function userContext($mode = NULL) {
@@ -284,6 +285,8 @@ class CRM_Admin_Page_Extensions extends CRM_Core_Page_Basic {
    *
    * The result format resembles the old CRM_Core_Extensions_Extension.
    *
+   * @param CRM_Extension_Info $obj
+   *
    * @return array
    */
   public static function createExtendedInfo(CRM_Extension_Info $obj) {