Skip to content

Commit

Permalink
Merge pull request #3497 from WordImpress/revert-3494-issue/3482
Browse files Browse the repository at this point in the history
Revert "fix(composer): Include PHP libraries using composer #3482"
  • Loading branch information
ravinderk committed Jul 17, 2018
2 parents f440b67 + a83ebdb commit 60a8750
Show file tree
Hide file tree
Showing 48 changed files with 63,143 additions and 72 deletions.
3 changes: 1 addition & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
"description": "Give - a WordPress Donation Plugin and Fundraising Platform",
"homepage": "https://givewp.com/",
"require": {
"composer/installers": "~1.2",
"tecnickcom/tcpdf": "^6.2"
"composer/installers": "~1.2"
},
"require-dev": {
"squizlabs/php_codesniffer": "*",
Expand Down
64 changes: 1 addition & 63 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions give.php
Original file line number Diff line number Diff line change
Expand Up @@ -456,13 +456,6 @@ private function setup_constants() {
private function includes() {
global $give_options;

/**
* Composer's autoload.php.
*/
if ( file_exists( GIVE_PLUGIN_DIR . 'vendor/autoload.php' ) ) {
require_once GIVE_PLUGIN_DIR . 'vendor/autoload.php';
}

/**
* Load libraries.
*/
Expand Down

0 comments on commit 60a8750

Please sign in to comment.