Skip to content

Commit f3b7b06

Browse files
committed
Get rid of unneeded bool return status
1 parent 2067480 commit f3b7b06

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

lib/dropin.php

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,10 @@ public function install() {
5353
}
5454
return;
5555
case self::DROPIN_SUCCESS: // Already installed
56-
return true;
5756
case self::DROPIN_FAIL_IS_NOT_SDBC: // Don't overwrite another dropin
5857
case self::DROPIN_FAIL_IS_NOT_LOADED: // Dropin not loading abort!
5958
default:
60-
return false;
59+
return;
6160
}
6261
}
6362

@@ -74,10 +73,9 @@ public function uninstall() {
7473
}
7574
return;
7675
case self::DROPIN_FAIL_NO_FILE: // No dropin
77-
return true;
7876
case self::DROPIN_FAIL_IS_NOT_SDBC: // Don't remove another dropin
7977
default:
80-
return false;
78+
return;
8179
}
8280
}
8381

readme.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ Aside from setting the normal MySQL connection parameters the minimum configs to
9393
= 1.1.6 =
9494

9595
* Cleanup GitHub repo, remove screenshot image
96+
* Minor code cleanup
9697

9798
= 1.1.5 =
9899

0 commit comments

Comments
 (0)