CRM-21272: add visibility to methods
authorHerb vd Dool <herb@freeform.ca>
Mon, 16 Oct 2017 21:27:57 +0000 (17:27 -0400)
committerHerb vd Dool <herb@freeform.ca>
Mon, 16 Oct 2017 21:27:57 +0000 (17:27 -0400)
CRM/Utils/System/Backdrop.php
CRM/Utils/System/Base.php
CRM/Utils/System/Drupal8.php
CRM/Utils/System/DrupalBase.php
CRM/Utils/System/Joomla.php
CRM/Utils/System/WordPress.php

index 42eaf58ae387a4ab67ba8f37a22aa78552adf854..3b96bfbd0252729f59dd28c704b4ac9d88ff69af 100644 (file)
@@ -425,7 +425,7 @@ AND    u.status = 1
   /**
    * @inheritDoc
    */
-  function isPasswordUserGenerated() {
+  public function isPasswordUserGenerated() {
     if (config_get('system.core', 'user_email_verification') == TRUE) {
       return FALSE;
     }
index 3bc5758c3ae3594ae6c4bf0937ad5502e3edc40a..d3f8f060d0c798598c5a92b40efe5611b4479a6e 100644 (file)
@@ -409,7 +409,7 @@ abstract class CRM_Utils_System_Base {
    *
    * @return bool
    */
-  function isPasswordUserGenerated() {
+  public function isPasswordUserGenerated() {
     return FALSE;
   }
 
index 6e0f7ac43a79ffb4ad148dec95688e2f997e638c..b4b725ef3ef4681eb0127955189ca7b663689a46 100644 (file)
@@ -539,7 +539,7 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase {
   /**
    * @inheritDoc
    */
-  function isPasswordUserGenerated() {
+  public function isPasswordUserGenerated() {
     if (\Drupal::config('user.settings')->get('verify_mail') == TRUE) {
       return FALSE;
     }
index 2a191db72bda9091fcb7931d499a3ddf1162f0f2..b54b6761aba2565a27dc20295684dbb8c6d265f7 100644 (file)
@@ -427,7 +427,7 @@ abstract class CRM_Utils_System_DrupalBase extends CRM_Utils_System_Base {
   /**
    * @inheritDoc
    */
-  function isPasswordUserGenerated() {
+  public function isPasswordUserGenerated() {
     if (variable_get('user_email_verification', TRUE)) {
       return FALSE;
     }
@@ -663,4 +663,5 @@ abstract class CRM_Utils_System_DrupalBase extends CRM_Utils_System_Base {
       }
     }
   }
+
 }
index 29b1b0e02a7d47445a2ed698603bfa4b1c9c1579..d4687484145fde4d6e8cc63513a29f0aeb3aedb6 100644 (file)
@@ -592,7 +592,7 @@ class CRM_Utils_System_Joomla extends CRM_Utils_System_Base {
   /**
    * @inheritDoc
    */
-  function isPasswordUserGenerated() {
+  public function isPasswordUserGenerated() {
     return TRUE;
   }
 
index 8bfd797e9c083a73a03696aa8b7188e9bfa5b48a..c347c8c61acf3e319eaa0d1d84440d660929f7d5 100644 (file)
@@ -622,7 +622,7 @@ class CRM_Utils_System_WordPress extends CRM_Utils_System_Base {
   /**
    * @inheritDoc
    */
-  function isPasswordUserGenerated() {
+  public function isPasswordUserGenerated() {
     return TRUE;
   }