Skip to content

Commit

Permalink
Get rid of unneeded bool return status
Browse files Browse the repository at this point in the history
  • Loading branch information
xyu committed Jul 4, 2018
1 parent 2067480 commit f3b7b06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/dropin.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,10 @@ public function install() {
}
return;
case self::DROPIN_SUCCESS: // Already installed
return true;
case self::DROPIN_FAIL_IS_NOT_SDBC: // Don't overwrite another dropin
case self::DROPIN_FAIL_IS_NOT_LOADED: // Dropin not loading abort!
default:
return false;
return;
}
}

Expand All @@ -74,10 +73,9 @@ public function uninstall() {
}
return;
case self::DROPIN_FAIL_NO_FILE: // No dropin
return true;
case self::DROPIN_FAIL_IS_NOT_SDBC: // Don't remove another dropin
default:
return false;
return;
}
}

Expand Down
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ Aside from setting the normal MySQL connection parameters the minimum configs to
= 1.1.6 =

* Cleanup GitHub repo, remove screenshot image
* Minor code cleanup

= 1.1.5 =

Expand Down

0 comments on commit f3b7b06

Please sign in to comment.