Skip to content

Commit

Permalink
Remove Option helper for managing options for now
Browse files Browse the repository at this point in the history
  • Loading branch information
thrijith committed Jan 11, 2019
1 parent 7d64f37 commit 086ceda
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
2 changes: 1 addition & 1 deletion laterpay/application/Controller/Admin/Pricing.php
Original file line number Diff line number Diff line change
Expand Up @@ -1016,7 +1016,7 @@ protected function update_enabled_post_types( LaterPay_Core_Event $event ) {
}

// Update option for enabled post types.
$is_updated = LaterPay_Helper_Option::update_laterpay_option( 'laterpay_enabled_post_types', $enabled_post_types );
$is_updated = update_option( 'laterpay_enabled_post_types', $enabled_post_types );

if ( ! $is_updated ) {

Expand Down
24 changes: 0 additions & 24 deletions laterpay/application/Helper/Option.php

This file was deleted.

0 comments on commit 086ceda

Please sign in to comment.