diff --git a/app/Http/Controllers/DocumentController.php b/app/Http/Controllers/DocumentController.php index e6f1d8fb8c..f25a027f86 100644 --- a/app/Http/Controllers/DocumentController.php +++ b/app/Http/Controllers/DocumentController.php @@ -95,10 +95,6 @@ class DocumentController extends BaseController public function postUpload(CreateDocumentRequest $request) { - if (!Utils::hasFeature(FEATURE_DOCUMENTS)) { - return; - } - $result = $this->documentRepo->upload($request->all(), $doc_array); if(is_string($result)){ diff --git a/app/Http/routes.php b/app/Http/routes.php index f92c8febfb..a4185e91f2 100644 --- a/app/Http/routes.php +++ b/app/Http/routes.php @@ -606,7 +606,7 @@ if (!defined('CONTACT_EMAIL')) { define('NINJA_WEB_URL', env('NINJA_WEB_URL', 'https://www.invoiceninja.com')); define('NINJA_APP_URL', env('NINJA_APP_URL', 'https://app.invoiceninja.com')); define('NINJA_DATE', '2000-01-01'); - define('NINJA_VERSION', '2.6.1' . env('NINJA_VERSION_SUFFIX')); + define('NINJA_VERSION', '2.6.2' . env('NINJA_VERSION_SUFFIX')); define('SOCIAL_LINK_FACEBOOK', env('SOCIAL_LINK_FACEBOOK', 'https://www.facebook.com/invoiceninja')); define('SOCIAL_LINK_TWITTER', env('SOCIAL_LINK_TWITTER', 'https://twitter.com/invoiceninja'));