Skip to content

Commit

Permalink
Removing unneeded DI
Browse files Browse the repository at this point in the history
  • Loading branch information
willdoran committed Sep 23, 2016
1 parent 7e95547 commit 0896e10
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions application/classes/Ushahidi/Core.php
Expand Up @@ -512,18 +512,6 @@ public static function init()
'post_value_validator_factory' => $di->lazyGet('validator.post.value_factory'),
];

$di->params['Ushahidi_Validator_Post_Import'] = [
'repo' => $di->lazyGet('repository.post'),
'attribute_repo' => $di->lazyGet('repository.form_attribute'),
'stage_repo' => $di->lazyGet('repository.form_stage'),
'tag_repo' => $di->lazyGet('repository.tag'),
'user_repo' => $di->lazyGet('repository.user'),
'form_repo' => $di->lazyGet('repository.form'),
'role_repo' => $di->lazyGet('repository.role'),
'post_value_factory' => $di->lazyGet('repository.post_value_factory'),
'post_value_validator_factory' => $di->lazyGet('validator.post.value_factory'),
];

$di->params['Ushahidi_Validator_Form_Update'] = [
'repo' => $di->lazyGet('repository.form'),
];
Expand Down

0 comments on commit 0896e10

Please sign in to comment.