Skip to content

Commit 91fb667

Browse files
committed
migrate drush to pimple container.
1 parent a5945a9 commit 91fb667

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

kernel.drush.run.inc

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
* Executes the given command in the current working directory.
99
*/
1010
function drush_kernel_app_run($arguments = array()) {
11-
$c = DrupalKernelContainer::get();
11+
$c = pimple_get_container('app');
1212

1313
// Append all the command line options (--option and -o).
1414
foreach ($_SERVER['argv'] as $argument) {
@@ -70,7 +70,7 @@ function drush_kernel_app_run($arguments = array()) {
7070
*/
7171
function drush_kernel_app_get_options($command = 'list') {
7272
static $commands = array();
73-
$c = DrupalKernelContainer::get();
73+
$c = pimple_get_container('app');
7474

7575
// Retrieve all the commands available from Composer.
7676
if (empty($commands)) {

0 commit comments

Comments
 (0)