mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 21:22:58 +01:00
Clean up console commands
This commit is contained in:
parent
abf8f87b68
commit
25f8bac85f
@ -64,8 +64,6 @@ class ImportMigrations extends Command
|
||||
*/
|
||||
public function __construct()
|
||||
{
|
||||
$this->faker = Factory::create();
|
||||
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
@ -76,6 +74,8 @@ class ImportMigrations extends Command
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
$this->faker = Factory::create();
|
||||
|
||||
$this->buildCache();
|
||||
|
||||
$path = $this->option('path') ?? public_path('storage/migrations/import');
|
||||
|
@ -93,17 +93,6 @@ class MobileLocalization extends Command
|
||||
$text = str_replace(['<i>', '</i>'], '', $text);
|
||||
$text = str_replace(['<strong>', '</strong>'], '', $text);
|
||||
|
||||
//replace the three lines above with this
|
||||
// if($language->locale == 'ar') {
|
||||
// $text = str_replace('\n', " ", $text);
|
||||
// }
|
||||
|
||||
// $text = str_replace(['<strong>', '</strong>','<i>', '</i>','<b>', '</b>'], '', $text);
|
||||
// $text = str_replace('"', "'", $text);
|
||||
|
||||
|
||||
|
||||
|
||||
echo "'$key': '$text',\n";
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user