Added warning method. Changed some code to use it.

This commit is contained in:
Rudi Grinberg 2012-08-27 14:51:35 -04:00
parent 1a13731216
commit 7aba1dcebd
2 changed files with 16 additions and 1 deletions

View file

@ -128,7 +128,7 @@ class Application_Model_StoredFile
if (defined($mdConst)) {
$dbMd[constant($mdConst)] = $mdValue;
} else {
Logging::info("Warning: using metadata that is not defined.
Logging::warn("using metadata that is not defined.
[$mdConst] => [$mdValue]");
}
}