Skip to content

Commit 2e75599

Browse files
committed
Installation: Patch isInstalled() check
1 parent 83e7b49 commit 2e75599

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/Controllers/InstallController.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,8 @@ public function upgrade_menu()
122122
*/
123123
public function isInstalled()
124124
{
125-
return (class_exists('Kordy\Ticketit\TicketitServiceProvider')
126-
|| count($this->migrations_tables) == count($this->inactiveMigrations())
127-
|| in_array('2017_12_25_222719_update_panichd_priorities_add_position', $this->inactiveMigrations()) ) ? false : true;
125+
return (count($this->migrations_tables) == count($this->inactiveMigrations())
126+
|| in_array('2017_12_25_222719_update_panichd_priorities_add_magnitude', $this->inactiveMigrations()) ) ? false : true;
128127
}
129128

130129
/**

0 commit comments

Comments
 (0)