Index: filerelationsserver.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/filerelationsserver/filerelationsserver.module,v
retrieving revision 1.1
diff -u -r1.1 filerelationsserver.module
--- filerelationsserver.module	2 Mar 2009 17:24:17 -0000	1.1
+++ filerelationsserver.module	9 Jul 2009 11:46:21 -0000
@@ -138,7 +138,6 @@
                                            FROM {og_vocab} o
                                            JOIN {vocabulary} v
                                            ON o.vid = v.vid
-                                           WHERE v.module = 'og_vocab'
                                            AND v.name = '%s'",
                                            $name));
         if ($vocab)
@@ -490,7 +489,7 @@
     case FILERELATIONSSERVER_GROUP:
       if (FILERELATIONSSERVER_OG_VOCAB && module_exists('og_vocab')) {
         // list the group's vocabularies, if they exist
-        $group_vocab = og_vocab_load_vocabularies($key);
+        $group_vocab = og_vocab_get_vocabularies($key);
         foreach ($group_vocab as $vocab) {
           $resources[$vocab->name] = array(FILERELATIONSSERVER_VOCABULARY, $vocab->vid);
         }
