PluginProbe
Social Share Buttons / 1.5
Social Share Buttons v1.5
trunk 0.9 1.0 1.1 1.1.1 1.1.2 1.10 1.11 1.12 1.15 1.16 1.17 1.18 1.19 1.2 1.20 1.3 1.30 1.4 1.5 1.6 1.7 1.8 1.9
← All changes | classes/network/custom.php +2 -23 1.61.5 View file →
@@ -7,34 +7,13 @@
7 7 protected $priority = 'readmore';
8 8 protected $is_native = false;
9 9
10 10
11 - /** Function to set default for custom networks to the data that was imported from remote.
12 - *
13 - * Start state of custom network is all these defaults, but no save on the main settings branch
14 - */
15 - public function get_all_defaults()
11 +/* public function set()
16 12 {
17 - $network = MBSocial()->networks()->getNetworkSettings();
18 - //var_dump($network); var_dump($this->network);
19 - if (isset($network['custom'][$this->network]))
20 - {
21 13
22 - $settings = $network['custom'][$this->network];
23 -
24 - $all_options = $this->get_all_options();
25 - // echo "<PRE>"; print_R($settings); print_r($all_options);
26 - foreach($all_options as $option => $value)
27 - {
28 - if (isset($settings[$option]))
29 - {
30 - $all_options[$option] = $settings[$option];
31 - }
32 - }
33 - }
34 - return $all_options;
35 14 }
36 -
15 +*/
37 16 public function load_settings($settings)
38 17 {
39 18 parent::load_settings($settings);
40 19