don't try to convert blanks
[civicrm-core.git] / CRM / Utils / System.php
index 98685df52ba3c5e085408b017d43667967bd8e65..5c27f998d451fb88c75aaf7b1cb3e8b67a14932f 100644 (file)
@@ -1829,6 +1829,7 @@ class CRM_Utils_System {
   }
 
   /**
+   * @deprecated
    * Determine whether this system is deployed using version control.
    *
    * Normally sites would tune their php error settings to prevent deprecation
@@ -1844,6 +1845,7 @@ class CRM_Utils_System {
    * @return bool
    */
   public static function isDevelopment() {
+    CRM_Core_Error::deprecatedWarning('isDevelopment() is deprecated. Set your php error_reporting or MySQL settings appropriately instead.');
     static $cache = NULL;
     if ($cache === NULL) {
       global $civicrm_root;