| @@ -11,9 +11,10 @@ | ||
| 11 | 11 | |
| 12 | 12 | |
| 13 | 13 | public function __construct() |
| 14 | 14 | { |
| 15 | - | |
| 15 | + parent::__construct(); | |
| 16 | + | |
| 16 | 17 | $this->label = __('Share', 'mbsocial'); |
| 17 | 18 | $this->share_url = 'https://vkontakte.ru/share.php?url={url}'; |
| 18 | 19 | $this->count_api = 'https://vk.com/share.php?act=count&url={url}'; |
| 19 | 20 | $this->profile_url = 'https://vk.com/{profile}'; |
| @@ -18,9 +19,8 @@ | ||
| 18 | 19 | $this->count_api = 'https://vk.com/share.php?act=count&url={url}'; |
| 19 | 20 | $this->profile_url = 'https://vk.com/{profile}'; |
| 20 | 21 | |
| 21 | 22 | $this->countable = true; |
| 22 | - parent::__construct(); | |
| 23 | 23 | |
| 24 | 24 | // count function vKontakteCount |
| 25 | 25 | } |
| 26 | 26 | |