Skip to content

Commit

Permalink
portfolio MDL-22264 made supported_formats non static
Browse files Browse the repository at this point in the history
  • Loading branch information
Penny Leach committed May 1, 2010
1 parent 593270c commit 38652d9
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/portfolio/plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ abstract class portfolio_plugin_base {
*
* @return array list of formats
*/
public static function supported_formats() {
public function supported_formats() {
return array(PORTFOLIO_FORMAT_FILE, PORTFOLIO_FORMAT_RICH);
}

Expand Down
2 changes: 1 addition & 1 deletion portfolio/boxnet/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public static function allows_multiple_instances() {
return false;
}

public static function supported_formats() {
public function supported_formats() {
return array(PORTFOLIO_FORMAT_FILE); // don't support rich html, it breaks links
}

Expand Down
2 changes: 1 addition & 1 deletion portfolio/flickr/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ class portfolio_plugin_flickr extends portfolio_plugin_push_base {
private $token;
private $raw_sets;

public static function supported_formats() {
public function supported_formats() {
return array(PORTFOLIO_FORMAT_IMAGE);
}

Expand Down
2 changes: 1 addition & 1 deletion portfolio/googledocs/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
class portfolio_plugin_googledocs extends portfolio_plugin_push_base {
private $sessiontoken;

public static function supported_formats() {
public function supported_formats() {
return array(
PORTFOLIO_FORMAT_PLAINHTML,
PORTFOLIO_FORMAT_IMAGE,
Expand Down
2 changes: 1 addition & 1 deletion portfolio/mahara/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ public static function get_allowed_config() {
return array('mnethostid');
}

public static function supported_formats() {
public function supported_formats() {
return array(PORTFOLIO_FORMAT_FILE, PORTFOLIO_FORMAT_LEAP2A);
}

Expand Down
2 changes: 1 addition & 1 deletion portfolio/picasa/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
class portfolio_plugin_picasa extends portfolio_plugin_push_base {
private $sessionkey;

public static function supported_formats() {
public function supported_formats() {
return array(PORTFOLIO_FORMAT_IMAGE, PORTFOLIO_FORMAT_VIDEO);
}

Expand Down

0 comments on commit 38652d9

Please sign in to comment.