Skip to content

Commit 059db3c

Browse files
committed
Merge pull request #123 from webasyst/dev
fix
2 parents 28367fb + 15760b6 commit 059db3c

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

wa-system/locale/waLocale.class.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ function _w($msgid1, $msgid2 = null, $n = null, $sprintf = true)
371371
function sprintf_wp()
372372
{
373373
$args = func_get_args();
374-
array_unshift($args, _w(array_shift($args)));
374+
array_unshift($args, _wp(array_shift($args)));
375375
return call_user_func_array('sprintf', $args);
376376
}
377377

wa-system/plugin/waPlugin.class.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,6 @@ public function getName()
4343
return $this->info['name'];
4444
}
4545

46-
public function getInfo()
47-
{
48-
return $this->info;
49-
}
50-
51-
5246
public function getVersion()
5347
{
5448
$version = isset($this->info['version']) ? $this->info['version'] : '0.0.1';

0 commit comments

Comments
 (0)