[dev] PATCH: deleteLink() stub for links "none" driver.

Jason M. Felice jfelice at cronosys.com
Wed Jul 16 09:14:12 PDT 2003


-- 
 Jason M. Felice
 Cronosys, LLC <http://www.cronosys.com/>
 216.221.4600 x302
-------------- next part --------------
Index: lib/Links.php
===================================================================
RCS file: /repository/horde/lib/Links.php,v
retrieving revision 1.15
diff -u -u -r1.15 Links.php
--- lib/Links.php	19 Jun 2003 18:47:43 -0000	1.15
+++ lib/Links.php	16 Jul 2003 16:13:23 -0000
@@ -344,4 +344,25 @@
         return $instances[$signature];
     }
 
+    /**
+     * Deletes a link from the database.  This is a stub (for the 'none'
+     * driver).
+     *
+     * @access public
+     *
+     * @param string $from_appliction  A string identifying the source 
+     *                                 application ('provides') 
+     * @param array $from_parameters   A hash containing the link's source 
+     *                                 parameters.
+     * @param string $to_appliction    A string identifying the target 
+     *                                 application ('provides')
+     * @param array $to_parameters     A hash containing the link's target 
+     *                                 parameters.
+     * @param string $type             A string specifying the link type.
+     *
+     * @return mixed                   Query statement result.
+     */
+    function deleteLink($from_application, $from_parameters, $to_application, $to_parameters, $link_type)
+    {
+    }
 }


More information about the dev mailing list