From 5b3967cd58fbda7b671ea83bdc581b5fef6e99d3 Mon Sep 17 00:00:00 2001 From: Robert Sesek Date: Sat, 21 Jan 2006 07:07:32 +0000 Subject: [PATCH] Change API->norelations to API->dorelations so we have to explictly choose the ones --- api.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api.php b/api.php index 08b9f78..63ec8a7 100644 --- a/api.php +++ b/api.php @@ -154,11 +154,11 @@ class API var $norunners = array(); /** - * Prevent relations from being synced in these actions + * The relations to execute on * @var array * @access public */ - var $norelations = array(); + var $dorelations = array('fetch'); // ################################################################### /** @@ -467,7 +467,7 @@ class API */ function call_relations($method) { - if (in_array($method, $this->norelations) OR $this->norelations === true) + if (!in_array($method, $this->dorelations)) { return; } -- 2.43.5