Changeset 597 for trunk/lib


Ignore:
Timestamp:
Apr 27, 2017 2:54:30 PM (7 years ago)
Author:
anonymous
Message:

Remove useless logging

Location:
trunk/lib
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FormValidator.inc.php

    r561 r597  
    309309
    310310    /*
    311     * We were using the isEmpty method *wrong* for years and should have been using notEmpty becuase it is more grammatically correct.
     311    * We were using the isEmpty method *wrong* for years and should have been using notEmpty because it is more grammatically correct.
    312312    * Because the only use is to ensure a value is not empty, we're simply going to alias this method to notEmpty().
    313313    * @since    03 Jun 2006 22:56:46
  • trunk/lib/Validator.inc.php

    r593 r597  
    6969                return true;
    7070            } else {
    71                 $app->logMsg(sprintf('%s (line %s) failed: %s', __METHOD__, __LINE__, getDump($val)), $type, $file, $line);
    7271                return false;
    7372            }
     
    7675                return true;
    7776            } else {
    78                 $app->logMsg(sprintf('%s (line %s) failed: %s', __METHOD__, __LINE__, getDump($val)), $type, $file, $line);
    7977                return false;
    8078            }
     
    8381
    8482    /*
    85     * We were using the isEmpty method *wrong* for years and should have been using notEmpty becuase it is more grammatically correct.
     83    * We were using the isEmpty method *wrong* for years and should have been using notEmpty because it is more grammatically correct.
    8684    * Because the only use is to ensure a value is not empty, we're simply going to alias this method to notEmpty().
    8785    *
Note: See TracChangeset for help on using the changeset viewer.