Skip to content

Commit fda8a7d

Browse files
committed
Removing lingering code.
1 parent 9508672 commit fda8a7d

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

app/V1Module/presenters/base/BasePresenter.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -130,11 +130,6 @@ public function startup()
130130
Validators::init();
131131
$this->processParams($actionReflection);
132132

133-
// TODO -- coerce bools in params
134-
if (!empty($this->params['archived'])) {
135-
$this->params['archived'] = filter_var($this->params['archived'], FILTER_VALIDATE_BOOLEAN);
136-
}
137-
138133
// ACL-checking method
139134
$this->tryCall($this->formatPermissionCheckMethod($this->getAction()), $this->params);
140135
}

0 commit comments

Comments
 (0)