dwing

diff inc/rest.class.php @ 186:cfd4d1dcece4

theoretically support OpenID AX with both axschema and schema.openid.net, thank god that no provider has support for this yet somehow
author Arpad Borsos <arpad.borsos@googlemail.com>
date Thu Aug 05 12:04:49 2010 +0200 (21 months ago)
parents 80aa23316572
children
line diff
     1.1 --- a/inc/rest.class.php	Wed Jul 22 11:50:03 2009 +0200
     1.2 +++ b/inc/rest.class.php	Thu Aug 05 12:04:49 2010 +0200
     1.3 @@ -311,8 +311,7 @@
     1.4  		$child = $dispatcher->next();
     1.5  		if(!$child) // destroy the current resource
     1.6  		{
     1.7 -			$obj->delete();
     1.8 -			return 'true';
     1.9 +			return $obj->delete(true);
    1.10  		}
    1.11  		// have $child
    1.12  		return $dispatcher->dispatch(); // dispatch to child