Skip to content

Commit

Permalink
Migrate to _instance.
Browse files Browse the repository at this point in the history
  • Loading branch information
mariuswilms committed Jun 14, 2011
1 parent dfd6fe8 commit eb1d35e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/Paste.php
Expand Up @@ -70,7 +70,7 @@ class Paste extends \lithium\data\Model {
*/
public static function __init($options = array()) {
parent::__init($options);
$self = static::_object();
$self = static::_instance(__CLASS__);

Paste::applyFilter('save', function($self, $params, $chain) {
$document = $params['entity'];
Expand Down

0 comments on commit eb1d35e

Please sign in to comment.