mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 00:16:46 +02:00
portfolio: MDL-16417 Prevent multiple googledocs/picassa instances
This commit is contained in:
parent
a89fcd7a2c
commit
16f4918a16
2 changed files with 6 additions and 0 deletions
|
@ -93,6 +93,9 @@ class portfolio_plugin_googledocs extends portfolio_plugin_push_base {
|
|||
google_docs::set_sesskey($this->sessiontoken, $this->get('user')->id);
|
||||
}
|
||||
|
||||
public static function allows_multiple_instances() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -86,6 +86,9 @@ class portfolio_plugin_picasa extends portfolio_plugin_push_base {
|
|||
google_picasa::set_sesskey($this->sessionkey, $this->get('user')->id);
|
||||
}
|
||||
|
||||
public static function allows_multiple_instances() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue