Proyectos de Subversion LeadersLinked - Services

Rev

Rev 383 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 383 Rev 385
Línea 205... Línea 205...
205
        return $this->executeUpdate($update);
205
        return $this->executeUpdate($update);
Línea 206... Línea 206...
206
        
206
        
Línea 207... Línea -...
207
    }
-
 
208
 
-
 
209
 
-
 
210
    /**
-
 
211
     *
-
 
212
     * @param UserProfile $userProfile
-
 
213
     * @return boolean
-
 
214
     */
-
 
215
    public function updateTimeZone($userProfile)
-
 
216
    {
-
 
217
        $values = [
-
 
218
            'timezone' => $userProfile->timezone,
-
 
219
        ];
-
 
220
        
-
 
221
        $update = $this->sql->update(self::_TABLE);
-
 
222
        $update->set($values);
-
 
223
        $update->where->equalTo('id', $userProfile->id);
-
 
224
        
-
 
Línea 225... Línea 207...
225
        return $this->executeUpdate($update);
207
    }
226
        
208
 
227
    }
209
 
228
    
210