Skip to content

Commit

Permalink
refs #1300
Browse files Browse the repository at this point in the history
 * 라인 삭제 안되는 문제 수정.
  • Loading branch information
jparker committed Sep 7, 2009
1 parent d77f277 commit 857b4ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion framework/model/Line.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function add() {
return $this->insert();
}

public function delete(){
public function remove(){
global $database;
if(empty($this->filter)) return $this->error('Filter empty');
foreach($this->filter as $filter) {
Expand Down
2 changes: 1 addition & 1 deletion interface/owner/entry/line/delete/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
$line->setFilter(array('blogid','equals',getBlogId()));
$line->setFilter(array('id','equals',$_POST['id']));

if($line->delete()) {
if($line->remove()) {
fireEvent('DeleteLine',0,$line);
Respond::ResultPage(0);
} else {
Expand Down

0 comments on commit 857b4ed

Please # to comment.