cvs: phd /include PhDPartialReader.class.php
| From: | Hannes Magnusson | Date: | Fri, 26 Oct 2007 14:49:05 +0000 |
| Subject: | cvs: phd /include PhDPartialReader.class.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-281@lists.php.net to get a copy of this message | ||
bjori Fri Oct 26 14:49:05 2007 UTC
Modified files:
/phd/include PhDPartialReader.class.php
Log:
No need to continue reading if we have already rendered all the requested IDs
http://cvs.php.net/viewvc.cgi/phd/include/PhDPartialReader.class.php?r1=1.2&r2=1.3&diff_format=u
Index: phd/include/PhDPartialReader.class.php
diff -u phd/include/PhDPartialReader.class.php:1.2 phd/include/PhDPartialReader.class.php:1.3
--- phd/include/PhDPartialReader.class.php:1.2 Sun Oct 21 17:08:44 2007
+++ phd/include/PhDPartialReader.class.php Fri Oct 26 14:49:05 2007
@@ -1,5 +1,5 @@
<?php
-/* $Id: PhDPartialReader.class.php,v 1.2 2007/10/21 17:08:44 bjori Exp $ */
+/* $Id: PhDPartialReader.class.php,v 1.3 2007/10/26 14:49:05 bjori Exp $ */
class PhDPartialReader extends PhDReader {
protected $partial = array();
@@ -51,6 +51,8 @@
}
}
return $ret;
+ } elseif (empty($this->partial)) {
+ return false;
} else {
$ignore = true;
}