Skip to content

Commit f890bc1

Browse files
author
Thuong
committed
update code
1 parent 9d0a350 commit f890bc1

File tree

2 files changed

+0
-58
lines changed

2 files changed

+0
-58
lines changed

extensions/webservices/joomla/site.content.1.0.0.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ public function save($data)
3434
$data = (object) $data;
3535
$article = JTable::getInstance('content');
3636
$article->title = $data->title;
37-
// $article->alias = JFilterOutput::stringURLSafe(time());
3837
$article->alias = JFilterOutput::stringURLSafe($data->title);
3938
$article->introtext = '<p>'.$data->description.'</p>';
4039
$article->created = JFactory::getDate()->toSQL();;
@@ -43,7 +42,6 @@ public function save($data)
4342
$article->access = 1;
4443
$article->metadata = '{"page_title":"'.$data->title.'","author":"'.$data->user.'","robots":""}';
4544
$article->language = '*';
46-
// $article->catid = 1;
4745

4846
if (!$article->check()) {
4947
throw new Exception($article->getError());

extensions/webservices/joomla/site.content.1.0.0.wsdl

Lines changed: 0 additions & 56 deletions
This file was deleted.

0 commit comments

Comments
 (0)