Changeset 345

Show
Ignore:
Timestamp:
01/30/08 19:46:32 (6 months ago)
Author:
mrook
Message:

Remove deprecated logging constants (patch by Markus Fischer)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.3/classes/phing/Project.php

    r175 r345  
    2020 */ 
    2121 
    22 // DEPRECATED logging constants 
    23 define('PROJECT_MSG_DEBUG', Project::MSG_DEBUG); 
    24 define('PROJECT_MSG_VERBOSE', Project::MSG_VERBOSE); 
    25 define('PROJECT_MSG_INFO', Project::MSG_INFO); 
    26 define('PROJECT_MSG_WARN', Project::MSG_WARN); 
    27 define('PROJECT_MSG_ERR', Project::MSG_ERR); 
    28  
    2922include_once 'phing/system/io/PhingFile.php'; 
    3023include_once 'phing/util/FileUtils.php'; 
  • branches/2.3/classes/phing/filters/StripWhitespace.php

    r247 r345  
    6363                 
    6464                if(empty($php)) { 
    65             $this->log("PHP file is empty!", PROJECT_MSG_WARN); 
     65            $this->log("PHP file is empty!", Project::MSG_WARN); 
    6666            return ''; // return empty string, don't attempt to strip whitespace 
    6767        } 
  • branches/2.3/classes/phing/tasks/ext/pdo/PDOSQLExecTask.php

    r319 r345  
    433433                                        // this assumes there is always a delimter on the end of the SQL statement. 
    434434                                        $sql = StringHelper::substring($sql, 0, strlen($sql) - 1 - strlen($this->delimiter)); 
    435                                         $this->log("SQL: " . $sql, PROJECT_MSG_VERBOSE); 
     435                                        $this->log("SQL: " . $sql, Project::MSG_VERBOSE); 
    436436                                        $this->execSQL($sql); 
    437437                                        $sql = "";