Skip to content

Commit

Permalink
Remove the Order Complete points hook
Browse files Browse the repository at this point in the history
See #13
  • Loading branch information
JDGrimes committed Jan 8, 2015
1 parent 121d5f3 commit 0a9fd25
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 234 deletions.
138 changes: 0 additions & 138 deletions src/components/points/includes/hooks/order-complete.php

This file was deleted.

7 changes: 0 additions & 7 deletions src/components/points/points.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@
*/
include_once( WORDPOINTS_WOOCOMMERCE_DIR . '/components/points/includes/functions.php' );

/**
* The order complete points hook.
*
* @since 1.0.0
*/
include_once( WORDPOINTS_WOOCOMMERCE_DIR . '/components/points/includes/hooks/order-complete.php' );

if ( class_exists( 'WC_Payment_Gateway' ) ) {

/**
Expand Down
27 changes: 2 additions & 25 deletions src/languages/wordpoints-woocommerce.pot
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ msgid ""
msgstr ""
"Project-Id-Version: WordPoints WooCommerce 1.0.0\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2015-01-08 21:24:33+00:00\n"
"POT-Creation-Date: 2015-01-08 21:29:13+00:00\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
Expand Down Expand Up @@ -131,31 +131,8 @@ msgstr ""
msgid "Refunded %s points."
msgstr ""

#: components/points/includes/hooks/order-complete.php:25
msgctxt "points hook name"
msgid "WooCommerce Order Complete"
msgstr ""

#: components/points/includes/hooks/order-complete.php:26
msgctxt "points hook description"
msgid "Completing an order."
msgstr ""

#. translators: order number
#: components/points/includes/hooks/order-complete.php:97
msgctxt "points log description"
msgid "Placed order %s."
msgstr ""

#: components/points/includes/hooks/order-complete.php:103
msgctxt "points log description"
msgid "Placed an order."
msgstr ""

#. Description of the module
msgid ""
"Let your users pay with points, and/or reward your users with points when "
"they make a purchase."
msgid "Let your users pay with points."
msgstr ""

#. Author of the module
Expand Down
2 changes: 1 addition & 1 deletion src/woocommerce.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Author: J.D. Grimes
* Author URI: http://codesymphony.co/
* Version: 1.0.0
* Description: Let your users pay with points, and/or reward your users with points when they make a purchase.
* Description: Let your users pay with points.
* Text Domain: wordpoints-woocommerce
* Domain Path: /languages
*
Expand Down
63 changes: 0 additions & 63 deletions tests/phpunit/tests/points/hooks/order-complete.php

This file was deleted.

0 comments on commit 0a9fd25

Please sign in to comment.