SyncruleTable: do not revalidate all the time

This commit is contained in:
Thomas Gelf 2015-12-02 03:29:21 +01:00
parent f41411c39a
commit 6f204f4d8c
1 changed files with 6 additions and 0 deletions

View File

@ -9,6 +9,8 @@ use Exception;
class SyncruleTable extends QuickTable
{
protected $revalidate = false;
public function getColumns()
{
return array(
@ -43,6 +45,10 @@ class SyncruleTable extends QuickTable
protected function getRowClasses($row)
{
if (! $this->revalidate) {
return array();
}
try {
// $mod = Sync::hasModifications(
$mod = Sync::getExpectedModifications(