Changeset 2451 for branches/schema06/system/classes/post.php
- Timestamp:
- 09/06/08 21:46:19 (4 months ago)
- Files:
-
- 1 modified
-
branches/schema06/system/classes/post.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/schema06/system/classes/post.php
r2448 r2451 1006 1006 { 1007 1007 $token_id = ACL::token_id( $permission ); 1008 if ( $token_id !== FALSE) {1008 if ( isset( $token_id ) ) { 1009 1009 DB::insert( '{post_tokens}', array( 'post_id' => $this->id, 'token_id' => $token_id ) ); 1010 1010 } … … 1016 1016 public function delete_permissions() 1017 1017 { 1018 DB::delete( '{post_tokens}', array( 'post_id' ,=> $this->id ) );1018 DB::delete( '{post_tokens}', array( 'post_id' => $this->id ) ); 1019 1019 } 1020 1020 }
