@@ 412-421 (lines=10) @@ | ||
409 | * |
|
410 | * @return array |
|
411 | */ |
|
412 | public static function get_active_messengers_in_db() { |
|
413 | EE_Error::doing_it_wrong( |
|
414 | __METHOD__, |
|
415 | __( 'Please use EE_Message_Resource_Manager::get_active_messengers_option() instead.', 'event_espresso' ), |
|
416 | '4.9.0' |
|
417 | ); |
|
418 | /** @var EE_Message_Resource_Manager $Message_Resource_Manager */ |
|
419 | $Message_Resource_Manager = EE_Registry::instance()->load_lib( 'Message_Resource_Manager' ); |
|
420 | return $Message_Resource_Manager->get_active_messengers_option(); |
|
421 | } |
|
422 | ||
423 | ||
424 | ||
@@ 436-445 (lines=10) @@ | ||
433 | * |
|
434 | * @return bool FALSE if not updated, TRUE if updated. |
|
435 | */ |
|
436 | public static function update_active_messengers_in_db( $data_to_save ) { |
|
437 | EE_Error::doing_it_wrong( |
|
438 | __METHOD__, |
|
439 | __( 'Please use EE_Message_Resource_Manager::update_active_messengers_option() instead.', 'event_espresso' ), |
|
440 | '4.9.0' |
|
441 | ); |
|
442 | /** @var EE_Message_Resource_Manager $Message_Resource_Manager */ |
|
443 | $Message_Resource_Manager = EE_Registry::instance()->load_lib( 'Message_Resource_Manager' ); |
|
444 | return $Message_Resource_Manager->update_active_messengers_option( $data_to_save ); |
|
445 | } |
|
446 | ||
447 | ||
448 | /** |