Removed unnecessary calls to syslog.

This commit is contained in:
Matt Butcher
2012-05-14 11:11:00 -05:00
parent 0a54aa2be5
commit bcd189ea5d

View File

@@ -692,14 +692,11 @@ class StreamWrapper {
// Skip debug streams.
if ($this->isNeverDirty) {
syslog(LOG_WARNING, "Never dirty. Skipping write.");
return;
}
// Stream is dirty and needs a write.
if ($this->isDirty) {
syslog(LOG_WARNING, "Marked dirty. Writing object.");
$position = ftell($this->objStream);
rewind($this->objStream);
@@ -708,9 +705,6 @@ class StreamWrapper {
fseek($this->objStream, SEEK_SET, $position);
}
else {
syslog(LOG_WARNING, "Not dirty. Skipping write.");
}
$this->isDirty = FALSE;
}