Verified Commit 41c0c2ef authored by Kevin Cristiano's avatar Kevin Cristiano 🌎

Remove api disable of civicrm.css. Bump version

parent 0380b23c
......@@ -46,8 +46,10 @@ function csshelper_civicrm_uninstall() {
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_enable
*/
function csshelper_civicrm_enable() {
/*
_csshelper_civix_civicrm_enable();
civicrm_api3('Setting', 'create', array('disable_core_css' => 1,));
*/
}
/**
......@@ -56,8 +58,10 @@ function csshelper_civicrm_enable() {
* @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_disable
*/
function csshelper_civicrm_disable() {
/*
_csshelper_civix_civicrm_disable();
civicrm_api3('Setting', 'create', array('disable_core_css' => 0,));
*/
}
/**
......@@ -200,4 +204,4 @@ function csshelper_cau_has_disabled_css() {
$disabled = civicrm_au()->single->setting_get( 'css_admin', '0' );
return ($disabled == '1') ? true : false;
}
}
\ No newline at end of file
......@@ -15,10 +15,10 @@
<url desc="Licensing">http://www.gnu.org/licenses/agpl-3.0.html</url>
</urls>
<releaseDate>2015-11-17</releaseDate>
<version>4.7</version>
<version>5.0</version>
<develStage>stable</develStage>
<compatibility>
<ver>4.7</ver>
<ver>5.8</ver>
</compatibility>
<comments>Extension to help Front End Developer swith CiviCRM styling in WordPress</comments>
<civix>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment