mirror of
https://github.com/moodle/moodle.git
synced 2025-01-29 19:50:14 +01:00
Merge branch 'wip-mdl-43311' of https://github.com/rajeshtaneja/moodle
This commit is contained in:
commit
438e799f42
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user