Skip to content

Commit

Permalink
Fix obvious errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubboucek committed Sep 3, 2018
1 parent 9152d87 commit 6df059e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
2 changes: 0 additions & 2 deletions includes/class.ssc_cron.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@

namespace SSC;

use DreamROI\Access;

class SSC_Cron
{
function __construct()
Expand Down
6 changes: 2 additions & 4 deletions includes/class.ssc_rest.php
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,11 @@ public function create_item($request){
}

$replaceArray = array(// pole ktera je mozne nahradit
'{pages}' => $pages,
'{mail}' => $email,
'{pages}' => $pages,// zpetna kompatibilita s v1.1
'{mail}' => $email,// zpetna kompatibilita s v1.1
'{login}' => $_login,
'{password}' => $_password,
'{login_url}' => wp_login_url(),
'{pages}' => $pages,// zpetna kompatibilita s v1.1
'{mail}' => $email,// zpetna kompatibilita s v1.1
// '{login}' => $_login,
// '{password}' => $_password,
);
Expand Down
2 changes: 1 addition & 1 deletion includes/class.ssc_settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ function add_options_page_metabox(){
$cmb->add_field(array(
'name' => __('Text emailu','ssc'),
'desc' => __('<u>Povolené zástupné znaky:</u><br/>'
.'<div style="text-style:normal;"><b>{login}</b> = login<br/>'
.'<div style="font-style:normal;"><b>{login}</b> = login<br/>'
.'<b>{password}</b> = heslo<br/>'
.'<b>{login_url}</b> = adresa, na které je možné se přihlásit<br/>'
.'<b>{pages}</b> = seznam stránek, do kterých má uživatel zakoupený přístup<br/>'
Expand Down

0 comments on commit 6df059e

Please sign in to comment.