Changeset 15994 for extensions/GooglePlusOne/maintain.inc.php
- Timestamp:
- Jun 24, 2012, 1:31:40 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/GooglePlusOne/maintain.inc.php
r15123 r15994 2 2 function plugin_install() 3 3 { 4 $ conf = array(4 $google_conf = array( 5 5 'size' => 'medium', 6 6 'position' => 'toolbar', … … 8 8 ); 9 9 10 conf_update_param('GooglePlusOne', serialize($ conf));10 conf_update_param('GooglePlusOne', serialize($google_conf)); 11 11 } 12 12 … … 17 17 if (@unserialize($conf['GooglePlusOne']) === false) 18 18 { 19 $ conf = explode(',', $conf['GooglePlusOne']);20 $ conf = array(21 'size' => $ conf[0],22 'position' => $ conf[1],19 $google_conf = explode(',', $conf['GooglePlusOne']); 20 $google_conf = array( 21 'size' => $tweet_conf[0], 22 'position' => $tweet_conf[1], 23 23 'annotation' => 'bubble', 24 24 ); 25 25 26 conf_update_param('GooglePlusOne', serialize($ conf));26 conf_update_param('GooglePlusOne', serialize($google_conf)); 27 27 } 28 28 }
Note: See TracChangeset
for help on using the changeset viewer.