Index: flag.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/flag/flag.inc,v
retrieving revision 1.1.2.30.2.29
diff -u -p -r1.1.2.30.2.29 flag.inc
--- flag.inc	2 Sep 2010 04:53:47 -0000	1.1.2.30.2.29
+++ flag.inc	19 Oct 2010 09:45:42 -0000
@@ -125,7 +125,7 @@ class flag_flag {
    *
    * @static
    */
-  function factory_by_row($row) {
+  static function factory_by_row($row) {
     $flag = flag_create_handler($row->content_type);
 
     // Lump all data unto the object...
@@ -154,8 +154,10 @@ class flag_flag {
 
   /**
    * Create a complete flag (except an FID) from an array definition.
+   *
+   * @static
    */
-  function factory_by_array($config) {
+  static function factory_by_array($config) {
     $flag = flag_create_handler($config['content_type']);
 
     foreach ($config as $option => $value) {
