Merge branch 'cc-5709-airtime-analyzer' into saas

This commit is contained in:
Albert Santoni 2014-11-18 17:14:01 -05:00
commit 162995bb49
3 changed files with 9 additions and 3 deletions

View file

@ -355,7 +355,13 @@ SQL;
{
$exists = false;
try {
$exists = file_exists($this->getFilePath());
//Explicitly check filepath because if it's blank, getFilePath() can
//still return a directory that exists.
if (!$this->_file->getDbFilepath()) {
$exists = false;
} else {
$exists = file_exists($this->getFilePath());
}
} catch (Exception $e) {
return false;
}