Merge branch 'master' of https://github.com/thelia/thelia into coupon

# By franck
# Via franck
* 'master' of https://github.com/thelia/thelia:
  Added command for creating admin users on console
  Fixed typo
This commit is contained in:
gmorel
2013-08-28 14:37:47 +02:00
5 changed files with 124 additions and 6 deletions

View File

@@ -26,7 +26,7 @@ class Admin extends BaseAdmin implements UserInterface
\Thelia\Log\Tlog::getInstance()->debug($password);
if ($this->isNew() && ($password === null || trim($password) == "")) {
throw new InvalidArgumentException("customer password is mandatory on creation");
throw new \InvalidArgumentException("customer password is mandatory on creation");
}
if($password !== null && trim($password) != "") {

View File

@@ -16,8 +16,8 @@ class Category extends BaseCategory {
public function getUrl()
{
}
/**
* Create a new category.
*