Changeset 1888713
- Timestamp:
- 06/07/2018 10:30:17 AM (8 years ago)
- File:
-
- 1 edited
-
dsgvo/trunk/eu-dsgvo-helper.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
dsgvo/trunk/eu-dsgvo-helper.php
r1888701 r1888713 4 4 Plugin Name: EU DSGVO Helper 5 5 Description: This Plugin will be further developed. It so far caches google webfonts locally and replaces youtube embeded videos with a preview-image which becomes an embeded video on-click. Removes Emojis. More functions will be added soon. 6 Version: 1.0.5. 76 Version: 1.0.5.8 7 7 Author: Eric Marten 8 8 Author URL: https://www.herr-marten.de/ … … 10 10 11 11 12 define("EU_DSGVO_HELPER_VERSION", 2);12 define("EU_DSGVO_HELPER_VERSION",4); 13 13 14 14 if (get_option("eudsgvo_helper_installed",0)!=EU_DSGVO_HELPER_VERSION ) … … 19 19 function install_eu_dsgvo_helper() 20 20 { 21 update_option("eudsgvo_helper_installed",EU_DSGVO_HELPER_VERSION); 21 if (get_option("eudsgvo_helper_installed",-1)==-1) 22 { 23 update_option("eudsgvo_helper_installed",EU_DSGVO_HELPER_VERSION); 24 } 22 25 } 23 26 register_activation_hook( __FILE__ , 'install_eu_dsgvo_helper' ); … … 27 30 { 28 31 29 if ($from< 3)32 if ($from<5) 30 33 { 31 34 … … 56 59 if (substr($rd,0,1)!="." && !is_dir($upload_dir.$rd) ) 57 60 { 58 if ( filemtime($upload_dir.$rd)<=1528364000 ) 59 { 60 @unlink($upload_dir.$rd); 61 } 61 @unlink($upload_dir.$rd); 62 62 } 63 63 }
Note: See TracChangeset
for help on using the changeset viewer.