- updated all occurences of Plgntls:: constantes for Cipf:: const

- update menu to use the new methods
This commit is contained in:
asus
2024-04-02 15:45:54 +02:00
parent 64dc0ffbc5
commit 1f5fff26d6
25 changed files with 404 additions and 549 deletions

View File

@@ -18,7 +18,7 @@ if (!defined('ABSPATH')) {
*/
function get_date_limit_CIPF($user_id = null) {
Plgntls::debug_infos();
$acf_card_expiration = Plgntls::ACF_CARD_EXPIRATION;
$acf_card_expiration = Cipf::ACF_CARD_EXPIRATION;
/*
* define ids
@@ -132,7 +132,7 @@ function is_card_date_expired_CIPF($user_id = null) {
*/
function card_date_exists_CIPF($user_id = null) {
Plgntls::debug_infos();
$acf_card_expiration = Plgntls::ACF_CARD_EXPIRATION;
$acf_card_expiration = Cipf::ACF_CARD_EXPIRATION;
/*
* define ids
@@ -169,8 +169,8 @@ function card_date_exists_CIPF($user_id = null) {
*/
function update_card_expiration_CIPF($user_id = null) {
Plgntls::debug_infos();
$acf_card_expiration = Plgntls::ACF_CARD_EXPIRATION;
$card_duration = Plgntls::CARD_VALIDITY_TIME;
$acf_card_expiration = Cipf::ACF_CARD_EXPIRATION;
$card_duration = Cipf::CARD_VALIDITY_TIME;
/*
* define acf id and acf date format