mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-06-06 06:46:25 +02:00
fix a lot a errors probably due to migration
This commit is contained in:
parent
afb899c003
commit
ae42484a60
37 changed files with 561 additions and 581 deletions
|
@ -49,7 +49,7 @@ namespace models;
|
|||
*/
|
||||
public function list($limit, $offset)
|
||||
{
|
||||
return $this->_select('command', [], '', false, $limit, $offset);
|
||||
return $this->_select('command', [], null, false, $limit, $offset);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -79,7 +79,7 @@ namespace models;
|
|||
*/
|
||||
public function list($limit, $offset)
|
||||
{
|
||||
return $this->_select('contact', [], '', false, $limit, $offset);
|
||||
return $this->_select('contact', [], null, false, $limit, $offset);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -39,7 +39,7 @@ namespace models;
|
|||
*/
|
||||
public function list($limit, $offset)
|
||||
{
|
||||
return $this->_select('event', [], '', false, $limit, $offset);
|
||||
return $this->_select('event', [], null, false, $limit, $offset);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -53,7 +53,7 @@ namespace models;
|
|||
*/
|
||||
public function list($limit, $offset)
|
||||
{
|
||||
return $this->_select('group', [], '', false, $limit, $offset);
|
||||
return $this->_select('group', [], null, false, $limit, $offset);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -39,7 +39,7 @@ namespace models;
|
|||
*/
|
||||
public function list($limit, $offset)
|
||||
{
|
||||
return $this->_select('received', [], '', false, $limit, $offset);
|
||||
return $this->_select('received', [], null, false, $limit, $offset);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -178,8 +178,8 @@ namespace models;
|
|||
{
|
||||
$query = '
|
||||
SELECT MAX(at) as at, number
|
||||
FROM (SELECT at, destination as number FROM sendeds UNION (SELECT at, origin as number FROM received)) as discussions
|
||||
GROUP BY origin
|
||||
FROM (SELECT at, destination as number FROM sended UNION (SELECT at, origin as number FROM received)) as discussions
|
||||
GROUP BY number
|
||||
ORDER BY at DESC
|
||||
';
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@ namespace models;
|
|||
*/
|
||||
public function list($limit, $offset)
|
||||
{
|
||||
return $this->_select('scheduled', [], '', false, $limit, $offset);
|
||||
return $this->_select('scheduled', [], null, false, $limit, $offset);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -39,7 +39,7 @@ namespace models;
|
|||
*/
|
||||
public function list($limit, $offset)
|
||||
{
|
||||
return $this->_select('sended', [], '', false, $limit, $offset);
|
||||
return $this->_select('sended', [], null, false, $limit, $offset);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -63,7 +63,7 @@ namespace models;
|
|||
*/
|
||||
public function list($limit, $offset)
|
||||
{
|
||||
return $this->_select('smsstop', [], '', false, $limit, $offset);
|
||||
return $this->_select('smsstop', [], null, false, $limit, $offset);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -59,7 +59,7 @@ namespace models;
|
|||
*/
|
||||
public function list($limit, $offset)
|
||||
{
|
||||
return $this->_select('transfer', [], '', false, $limit, $offset);
|
||||
return $this->_select('transfer', [], null, false, $limit, $offset);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -44,7 +44,7 @@ namespace models;
|
|||
*/
|
||||
public function list($limit, $offset)
|
||||
{
|
||||
return $this->_select('user', [], '', false, $limit, $offset);
|
||||
return $this->_select('user', [], null, false, $limit, $offset);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue