Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
framadate
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nounous
framadate
Commits
fffe5dab
Commit
fffe5dab
authored
8 years ago
by
Antonin
Browse files
Options
Downloads
Patches
Plain Diff
Removing some unused functions
parent
6a277eed
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/classes/Framadate/Utils.php
+0
-24
0 additions, 24 deletions
app/classes/Framadate/Utils.php
with
0 additions
and
24 deletions
app/classes/Framadate/Utils.php
+
0
−
24
View file @
fffe5dab
...
...
@@ -33,19 +33,6 @@ class Utils {
return
$scheme
.
'://'
.
preg_replace
(
'#//+#'
,
'/'
,
$server_name
);
}
public
static
function
is_error
(
$cerr
)
{
global
$err
;
if
(
$err
==
0
)
{
return
false
;
}
return
(
$err
&
$cerr
)
!=
0
;
}
public
static
function
is_user
()
{
return
(
USE_REMOTE_USER
&&
isset
(
$_SERVER
[
'REMOTE_USER'
]))
||
isset
(
$_SESSION
[
'nom'
]);
}
/**
* @param string $title
* @deprecated
...
...
@@ -85,17 +72,6 @@ class Utils {
<div class="container ombre">'
;
}
/**
* Check if an email address is valid using PHP filters
*
* @param string $email Email address to check
* @return bool True if valid. False if not valid.
* @deprecated
*/
public
static
function
isValidEmail
(
$email
)
{
return
filter_var
(
$email
,
FILTER_VALIDATE_EMAIL
);
}
/**
* Function allowing to generate poll's url
* @param string $id The poll's id
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment