This commit is contained in:
Eloy Lafuente (stronk7) 2013-12-17 22:33:51 +01:00
commit 438e799f42

View File

@ -551,6 +551,8 @@ class repository_dropbox extends repository {
}
public function sync_reference(stored_file $file) {
global $CFG;
if ($file->get_referencelastsync() + DAYSECS > time()) {
// Synchronise not more often than once a day.
return false;