Skip to content

Commit

Permalink
Update composer-post-install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
EarthlingDavey committed Nov 18, 2024
1 parent d29298c commit d49a9ca
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions bin/composer-post-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,9 @@ if grep -q $TREE_VIEW_SEARCH $TREE_VIEW_FILE ; then
fi


# Plugin version check.
ELASTIC_PRESS_TARGET_VERSION="5.1.3"
verify_composer_package_version "wpackagist-plugin/elasticpress" $ELASTIC_PRESS_TARGET_VERSION

# Variables for the find and replace.
ELASTIC_PRESS_FILE=/var/www/html/public/app/mu-plugins/elasticpress/includes/classes/Indexable/Post/SyncManager.php
ELASTIC_PRESS_SEARCH="\t\$this->action_delete_post( \$post_id );"
ELASTIC_PRESS_REPLACE="\t\$indexable->get( \$post_id ) \&\& \$this->action_delete_post( \$post_id );"
Expand Down

0 comments on commit d49a9ca

Please sign in to comment.