updateWithKeys now understands multi-column keys
and automatically identifies _which_ columns are the right ones, so for example 'uri' primary keys don't need to be explicitly set
This commit is contained in:
@@ -323,7 +323,7 @@ class HubSub extends Managed_DataObject
|
||||
$orig = clone($this);
|
||||
$this->callback = $httpscallback;
|
||||
$this->hashkey = self::hashkey($this->getTopic(), $this->callback);
|
||||
$this->updateWithKeys($orig, 'hashkey');
|
||||
$this->updateWithKeys($orig);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user