X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=classes%2FManaged_DataObject.php;h=ec514029939547997f5e098925e79816868d0034;hb=be0c10e8f6f9c60b1cb840cda9ac6f42c8289738;hp=a69a957bcc0225bad8b4085312b1b73a53b9ea13;hpb=a39f51c0441b22951412b2c00d88c34f39cb39c9;p=quix0rs-gnu-social.git diff --git a/classes/Managed_DataObject.php b/classes/Managed_DataObject.php index a69a957bcc..ec51402993 100644 --- a/classes/Managed_DataObject.php +++ b/classes/Managed_DataObject.php @@ -406,7 +406,7 @@ abstract class Managed_DataObject extends Memcached_DataObject common_log_db_error($this, 'UPDATE', __FILE__); // rollback as something bad occurred $this->query('ROLLBACK'); - throw new ServerException("Could not UPDATE non-keys for {$this->__table}"); + throw new ServerException("Could not UPDATE non-keys for {$this->tableName()}"); } $orig->decache(); $this->encache(); @@ -428,7 +428,7 @@ abstract class Managed_DataObject extends Memcached_DataObject common_log_db_error($this, 'UPDATE', __FILE__); // rollback as something bad occurred $this->query('ROLLBACK'); - throw new ServerException("Could not UPDATE key fields for {$this->__table}"); + throw new ServerException("Could not UPDATE key fields for {$this->tableName()}"); } // Update non-keys too, if the previous endeavour worked. @@ -438,7 +438,7 @@ abstract class Managed_DataObject extends Memcached_DataObject common_log_db_error($this, 'UPDATE', __FILE__); // rollback as something bad occurred $this->query('ROLLBACK'); - throw new ServerException("Could not UPDATE non-keys for {$this->__table}"); + throw new ServerException("Could not UPDATE non-keys for {$this->tableName()}"); } $orig->decache(); $this->encache();