Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-devel
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
143
Issues
143
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
emulab
emulab-devel
Commits
e71b22df
Commit
e71b22df
authored
Jan 22, 2016
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor tweak to lastused/usecount.
parent
a24565ed
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
www/aptui/instantiate.php
www/aptui/instantiate.php
+4
-1
No files found.
www/aptui/instantiate.php
View file @
e71b22df
<?php
#
# Copyright (c) 2000-201
5
University of Utah and the Flux Group.
# Copyright (c) 2000-201
6
University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
...
...
@@ -292,6 +292,9 @@ while (list ($uuid, $title) = each ($profile_array)) {
$tmp
=
Profile
::
Lookup
(
$uuid
);
if
(
$tmp
)
{
list
(
$lastused
,
$count
)
=
$tmp
->
UsageInfo
(
$this_user
);
if
(
$lastused
==
0
)
{
list
(
$unused
,
$count
)
=
$tmp
->
UsageInfo
(
null
);
}
$tmp_array
[
$uuid
]
=
array
(
"name"
=>
$tmp
->
name
(),
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment