Re adding string_2_boolean to keep BC.

1.9.x
Julio Montoya 11 years ago
parent 880c3eb2bc
commit 5456cbaef9
  1. 7
      main/inc/lib/main_api.lib.php

@ -3849,6 +3849,13 @@ function api_string_2_boolean($string) {
return false; return false;
} }
/**
* Too keep BC
* @deprecated use api_string_2_boolean
*/
function string_2_boolean($string) {
return api_string_2_boolean($string);
}
/** /**
* Determines the number of plugins installed for a given location * Determines the number of plugins installed for a given location

Loading…
Cancel
Save