Index: services.resource_build.inc
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/services/services.resource_build.inc,v
retrieving revision 1.3
diff -u -p -r1.3 services.resource_build.inc
--- services.resource_build.inc	24 Dec 2010 17:25:13 -0000	1.3
+++ services.resource_build.inc	16 Feb 2011 08:12:17 -0000
@@ -156,44 +156,6 @@ function _services_process_resource($nam
   if (isset($resource['index'])) {
     $controllers[$name . '/index'] = &$resource['index'];
   }
-
-  if (isset($resource['relationships'])) {
-    foreach ($resource['relationships'] as $relname => $rel) {
-      // Run some inheritance logic
-      if (isset($resource['retrieve'])) {
-        if (empty($rel['args']) || $rel['args'][0]['name'] !== $resource['retrieve']['args'][0]['name']) {
-          array_unshift($rel['args'], $resource['retrieve']['args'][0]);
-        }
-        $resource['relationships'][$relname] = array_merge($resource['retrieve'], $rel);
-      }
-      $controllers[$name . '/relationship/' . $relname] = &$resource['relationships'][$relname];
-    }
-  }
-
-  if (isset($resource['actions'])) {
-    foreach ($resource['actions'] as $actname => $act) {
-      // Run some inheritance logic
-      if (isset($resource['update'])) {
-        $up = $resource['update'];
-        unset($up['args']);
-        $resource['actions'][$actname] = array_merge($up, $act);
-      }
-      $controllers[$name . '/action/' . $actname] = &$resource['actions'][$actname];
-    }
-  }
-
-  if (isset($resource['targeted actions'])) {
-    foreach ($resource['targeted actions'] as $actname => $act) {
-      // Run some inheritance logic
-      if (isset($resource['update'])) {
-        if (empty($act['args']) || $act['args'][0]['name'] !== $resource['update']['args'][0]['name']) {
-          array_unshift($act['args'], $resource['update']['args'][0]);
-        }
-        $resource['targeted actions'][$actname] = array_merge($resource['update'], $act);
-      }
-      $controllers[$name . '/targeted_action/' . $actname] = &$resource['actions'][$actname];
-    }
-  }
 }
 
 /**
