Skip to content

Commit

Permalink
Remove unused vars.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Sep 5, 2015
1 parent 55155fe commit 2781f64
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions src/ORM/ResultSet.php
Expand Up @@ -171,7 +171,7 @@ public function __construct($query, $statement)
$repository = $query->repository();
$this->_query = $query;
$this->_statement = $statement;
$this->_driver = $driver = $this->_query->connection()->driver();
$this->_driver = $this->_query->connection()->driver();
$this->_defaultTable = $this->_query->repository();
$this->_calculateAssociationMap();
$this->_hydrate = $this->_query->hydrate();
Expand Down Expand Up @@ -254,7 +254,6 @@ public function rewind()
*/
public function valid()
{
$valid = true;
if ($this->_useBuffering) {
$valid = $this->_index < $this->_count;
if ($valid && $this->_results[$this->_index] !== null) {
Expand Down
2 changes: 0 additions & 2 deletions src/Shell/Task/AssetsTask.php
Expand Up @@ -117,8 +117,6 @@ protected function _list($name = null)
protected function _process($plugins, $copy = false)
{
foreach ($plugins as $plugin => $config) {
$path = Plugin::path($plugin) . 'webroot';

$this->out();
$this->out('For plugin: ' . $plugin);
$this->hr();
Expand Down

0 comments on commit 2781f64

Please sign in to comment.