Index: filefield_paths.test
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/filefield_paths/tests/Attic/filefield_paths.test,v
retrieving revision 1.1.2.4
diff -u -r1.1.2.4 filefield_paths.test
--- filefield_paths.test	17 Jun 2009 22:53:38 -0000	1.1.2.4
+++ filefield_paths.test	15 Oct 2009 07:38:37 -0000
@@ -22,7 +22,7 @@
     $this->drupalLogin($this->admin_user);
   }
 
-  function checkDependancy($module) {
+  static function checkDependancy($module) {
     $result = db_fetch_object(db_query(
       "SELECT filename FROM {system} WHERE type = 'module' AND name = '%s'", $module
     ));

