Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
our_own_cloud_project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
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
die_coolen_jungs
our_own_cloud_project
Commits
67ef3986
Commit
67ef3986
authored
13 years ago
by
Jan-Christoph Borchardt
Browse files
Options
Downloads
Plain Diff
Merge branch 'refactoring' of
git://anongit.kde.org/owncloud
into refactoring
parents
d9ed9fc8
10187735
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
lib/Group/backend.php
+6
-6
6 additions, 6 deletions
lib/Group/backend.php
lib/User/backend.php
+7
-7
7 additions, 7 deletions
lib/User/backend.php
lib/fileobserver.php
+1
-1
1 addition, 1 deletion
lib/fileobserver.php
lib/helper.php
+2
-2
2 additions, 2 deletions
lib/helper.php
with
16 additions
and
16 deletions
lib/Group/backend.php
+
6
−
6
View file @
67ef3986
...
...
@@ -33,7 +33,7 @@ abstract class OC_GROUP_BACKEND {
*
* @param string $groupName The name of the group to create
*/
abstract
public
static
function
createGroup
(
$groupName
)
;
public
static
function
createGroup
(
$groupName
)
{}
/**
* Check if a user belongs to a group
...
...
@@ -41,7 +41,7 @@ abstract class OC_GROUP_BACKEND {
* @param string $username Name of the user to check
* @param string $groupName Name of the group
*/
abstract
public
static
function
inGroup
(
$username
,
$groupName
)
;
public
static
function
inGroup
(
$username
,
$groupName
)
{}
/**
* Add a user to a group
...
...
@@ -49,7 +49,7 @@ abstract class OC_GROUP_BACKEND {
* @param string $username Name of the user to add to group
* @param string $groupName Name of the group in which add the user
*/
abstract
public
static
function
addToGroup
(
$username
,
$groupName
)
;
public
static
function
addToGroup
(
$username
,
$groupName
)
{}
/**
* Remove a user from a group
...
...
@@ -57,18 +57,18 @@ abstract class OC_GROUP_BACKEND {
* @param string $username Name of the user to remove from group
* @param string $groupName Name of the group from which remove the user
*/
abstract
public
static
function
removeFromGroup
(
$username
,
$groupName
)
;
public
static
function
removeFromGroup
(
$username
,
$groupName
)
{}
/**
* Get all groups the user belongs to
*
* @param string $username Name of the user
*/
abstract
public
static
function
getUserGroups
(
$username
)
;
public
static
function
getUserGroups
(
$username
)
{}
/**
* get a list of all groups
*
*/
abstract
public
static
function
getGroups
()
;
public
static
function
getGroups
()
{}
}
This diff is collapsed.
Click to expand it.
lib/User/backend.php
+
7
−
7
View file @
67ef3986
...
...
@@ -35,7 +35,7 @@ abstract class OC_USER_BACKEND {
* @param string $username The username of the user to create
* @param string $password The password of the new user
*/
abstract
public
static
function
createUser
(
$username
,
$password
)
;
public
static
function
createUser
(
$username
,
$password
)
{}
/**
* Try to login a user
...
...
@@ -43,18 +43,18 @@ abstract class OC_USER_BACKEND {
* @param string $username The username of the user to log in
* @param string $password The password of the user
*/
abstract
public
static
function
login
(
$username
,
$password
)
;
public
static
function
login
(
$username
,
$password
)
{}
/**
* Check if some user is logged in
*
*/
abstract
public
static
function
isLoggedIn
()
;
public
static
function
isLoggedIn
()
{}
/**
* Generate a random password
*/
abstract
public
static
function
generatePassword
()
;
public
static
function
generatePassword
()
{}
/**
* Set the password of a user
...
...
@@ -62,7 +62,7 @@ abstract class OC_USER_BACKEND {
* @param string $username User who password will be changed
* @param string $password The new password for the user
*/
abstract
public
static
function
setPassword
(
$username
,
$password
)
;
public
static
function
setPassword
(
$username
,
$password
)
{}
/**
* Check if the password of the user is correct
...
...
@@ -70,12 +70,12 @@ abstract class OC_USER_BACKEND {
* @param string $username Name of the user
* @param string $password Password of the user
*/
abstract
public
static
function
checkPassword
(
$username
,
$password
)
;
public
static
function
checkPassword
(
$username
,
$password
)
{}
/**
* get a list of all users
*
*/
abstract
public
static
function
getUsers
()
;
public
static
function
getUsers
()
{}
}
This diff is collapsed.
Click to expand it.
lib/fileobserver.php
+
1
−
1
View file @
67ef3986
...
...
@@ -41,7 +41,7 @@ class OC_FILEOBSERVER{
}
}
public
function
notify
(
$path
,
$action
){}
public
function
notify
(
$path
,
$action
,
$storage
){}
}
/**
...
...
This diff is collapsed.
Click to expand it.
lib/helper.php
+
2
−
2
View file @
67ef3986
...
...
@@ -60,8 +60,8 @@ class OC_HELPER {
global
$SERVERROOT
;
global
$WEBROOT
;
// Check if the app is in the app folder
if
(
file_exists
(
"
$SERVERROOT
/apps/img/
$app
/
$
fil
e
"
)){
return
"
$WEBROOT
/apps/img/
$app
/
$
fil
e
"
;
if
(
file_exists
(
"
$SERVERROOT
/apps/img/
$app
/
$
imag
e
"
)){
return
"
$WEBROOT
/apps/img/
$app
/
$
imag
e
"
;
}
return
"
$WEBROOT
/
$app
/img/
$image
"
;
}
...
...
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